Jeremy Whiting
e0ec691dd6
Fix another exception thrown when unable to find kindle keys.
2020-10-21 10:56:58 -06:00
Jeremy Whiting
0add3646d9
_winreg in python3 has been changed to winreg. Update imports.
2020-10-21 10:56:50 -06:00
Jeremy Whiting
dca0cf7d00
Fix kgenpids string vs bytes usage for python3 for calibre 5.1.
...
In order to properly get pids etc. we need to pass bytes to MD5 and SHA1
instead of unicode strings. Also ord() is no longer needed since
data is bytes value gets int and we need chr() to get characters from
the mapping bytearrays.
2020-10-03 22:36:35 -06:00
Jeremy Whiting
62e0a69089
Fix launching help link from customization dialog.
...
To fix error with python3 when launching help link open files in binary
mode.
2020-10-03 22:36:35 -06:00
Jeremy Whiting
9df1563492
Use open instead of file() to export keys to file.
...
Fixes export of Kindle keys in calibre 5.0.1 here.
2020-10-03 22:36:27 -06:00