databio / bulker

Manager for multi-container computing environments
https://bulker.io
BSD 2-Clause "Simplified" License
24 stars 2 forks source link

bulker list shows error if no bulker crates are loaded #95

Open donaldcampbelljr opened 5 months ago

donaldcampbelljr commented 5 months ago

Playing around with bulker, I unloaded all my crates and then confirmed via bulker list. However, bulker throws an error:

 bulker list
Using default config. You may specify in env var: ['BULKERCFG']
Available crates:
Traceback (most recent call last):
  File "/home/drc/GITHUB/looper/master/looper/venv/bin/bulker", line 8, in <module>
    sys.exit(main())
  File "/home/drc/GITHUB/looper/master/looper/venv/lib/python3.10/site-packages/bulker/bulker.py", line 1327, in main
    for crate, tags in crates.items():
AttributeError: 'str' object has no attribute 'items'