tools v6.0.5

This commit is contained in:
Apprentice Alf
2013-04-24 19:28:20 +01:00
parent cd2d74601a
commit a399d3b7bd
13 changed files with 305 additions and 26 deletions

View File

@@ -114,7 +114,7 @@ def convertprefs(always = False):
# Generate eReader user key from name and credit card number.
keyname = u"{0}_{1}".format(name.strip(),cc.strip()[-4:])
keyvalue = getuser_key(name,cc).encode('hex')
userkeysappend([keyname,keyvalue])
userkeys.append([keyname,keyvalue])
except Exception, e:
traceback.print_exc()
print e.args[0]