diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index 8e0ca32..fdd1802 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -98,7 +98,7 @@ def install(display, update): logging.info("[update] verifying %s for %s ..." % (checksum, source_path)) - with open(checksums, 'rt') as fp: + with open(checksum, 'rt') as fp: expected = fp.read().strip().lower() real = subprocess.getoutput('sha256sum "%s"' % source_path).split(' ')[0].strip().lower()