blink
blink copied to clipboard
TypeError: 'Network' object is not subscriptable
Getting the following error. Is this code still working or has the API changed?
> python -m blink --archive .
Traceback (most recent call last):
File "/Users/cbetta/.pyenv/versions/3.4.2/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/Users/cbetta/.pyenv/versions/3.4.2/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/cbetta/code/cbetta/blink/blink.py", line 260, in <module>
_main()
File "/Users/cbetta/code/cbetta/blink/blink.py", line 257, in _main
Blink().archive(args[1])
File "/Users/cbetta/code/cbetta/blink/blink.py", line 232, in archive
network_dir = os.path.join(path, network['name'])
TypeError: 'Network' object is not subscriptable