seemoo-lab / opendrop

An open Apple AirDrop implementation written in Python
https://owlink.org
GNU General Public License v3.0
8.48k stars 265 forks source link

Fix simple type errors #95

Open benonymity opened 1 year ago

benonymity commented 1 year ago

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.

lgtm-com[bot] commented 1 year ago

This pull request fixes 1 alert when merging d4035539c63323d14fcdc5d243a6facff62ad4af into cbc7ca46a75bb2da4af9d406732ddf2192578388 - view on LGTM.com

fixed alerts: