summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornlscc <66028747+nlscc@users.noreply.github.com>2020-10-08 23:23:04 +0200
committernlscc <66028747+nlscc@users.noreply.github.com>2020-10-08 23:23:04 +0200
commitd4afe948cf74a67d5ce83e2ccbe9222223bde5e3 (patch)
tree2e7ae1b9b4cb6b25b2b4b6e4113d3917745444b9
parentadd support for python3 -m (diff)
downloadsamloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.tar
samloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.tar.gz
samloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.tar.bz2
samloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.tar.lz
samloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.tar.xz
samloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.tar.zst
samloader-d4afe948cf74a67d5ce83e2ccbe9222223bde5e3.zip
-rw-r--r--samloader/crypt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/samloader/crypt.py b/samloader/crypt.py
index b2900f9..ae626f8 100644
--- a/samloader/crypt.py
+++ b/samloader/crypt.py
@@ -16,7 +16,7 @@ unpad = lambda d: d[:-d[-1]]
def getv4key(version, model, region):
client = fusclient.FUSClient()
- req = request.binaryinform(version, region, model, client.nonce)
+ req = request.binaryinform(version, model, region, client.nonce)
resp = client.makereq("NF_DownloadBinaryInform.do", req)
root = ET.fromstring(resp)
logicval = root.find("./FUSBody/Put/LOGIC_VALUE_FACTORY/Data").text