diff options
-rw-r--r-- | samloader/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samloader/main.py b/samloader/main.py index 63dd82e..57210dc 100644 --- a/samloader/main.py +++ b/samloader/main.py @@ -59,7 +59,7 @@ def main(): return print("decyrpting", out) # TODO: remove code duplication with decrypt command - getkey = crypt.getv2key if filename.endswith(".enc2") else crypt.getenc4key + getkey = crypt.getv2key if filename.endswith(".enc2") else crypt.getv4key key = getkey(args.fw_ver, args.dev_model, args.dev_region) length = os.stat(out).st_size with open(out, "rb") as inf: |