Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

collect_hw() fails if no camera is connected #1

Closed
rhelling opened this issue Oct 6, 2015 · 2 comments
Closed

collect_hw() fails if no camera is connected #1

rhelling opened this issue Oct 6, 2015 · 2 comments
Assignees
Labels

Comments

@rhelling
Copy link

rhelling commented Oct 6, 2015

Version: 1.3.4 and 1.3.5 (most recent atm)

Traceback (most recent call last):
File "/usr/bin/gigasetelements-cli", line 11, in
sys.exit(main())
File "/usr/lib/python2.7/site-packages/gigasetelements/gigasetelements.py", line 512, in main
collect_hw()
File "/usr/lib/python2.7/site-packages/gigasetelements/gigasetelements.py", line 241, in collect_hw
if 'id' in camera_data[0] and len(camera_data[0]['id']) == 12:
IndexError: list index out of range

@dynasticorpheus dynasticorpheus self-assigned this Oct 6, 2015
@dynasticorpheus
Copy link
Owner

Thanks for letting me know :) Should be fixed now but please confirm before I close the issue.

dynasticorpheus added a commit that referenced this issue Oct 7, 2015
@rhelling
Copy link
Author

rhelling commented Oct 7, 2015

Fix works for me! Thanks for fixing and the quick response.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants