opendrop
opendrop copied to clipboard
Fix simple type errors
trafficstars
This PR allows devices to be targeted by ID, which previously threw an error as len(1) is invalid in Python 3. Also removes the None from creation of an ArchiveEntry, as the self input does not need to be passed in by the class call.
This pull request fixes 1 alert when merging d4035539c63323d14fcdc5d243a6facff62ad4af into cbc7ca46a75bb2da4af9d406732ddf2192578388 - view on LGTM.com
fixed alerts:
- 1 for Wrong number of arguments in a class instantiation