fix version parsing

This commit is contained in:
dadav
2020-01-16 18:52:40 +01:00
parent f154b97ab9
commit afc3636939
10 changed files with 23 additions and 10 deletions

View File

@ -183,7 +183,7 @@ class AutoUpdate(plugins.Plugin):
to_check = [
('bettercap/bettercap', parse_version('bettercap -version'), True, 'bettercap'),
('evilsocket/pwngrid', parse_version('pwngrid -version'), True, 'pwngrid-peer'),
('evilsocket/pwnagotchi', pwnagotchi.version, False, 'pwnagotchi')
('evilsocket/pwnagotchi', pwnagotchi.__version__, False, 'pwnagotchi')
]
for repo, local_version, is_native, svc_name in to_check: