mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-10-30 21:20:10 +00:00
revert winreg rename for kindlekey.pyw
As the script isn't python3 compatible yet, we still need to import _winreg to make it run at least with python2.7. To make it run with python3, we need more works around print and raise syntax.
This commit is contained in:
parent
73af5d355d
commit
77211a7ac0
@ -177,7 +177,7 @@ if iswindows:
|
||||
create_unicode_buffer, create_string_buffer, CFUNCTYPE, addressof, \
|
||||
string_at, Structure, c_void_p, cast
|
||||
|
||||
import winreg
|
||||
import _winreg as winreg
|
||||
MAX_PATH = 255
|
||||
kernel32 = windll.kernel32
|
||||
advapi32 = windll.advapi32
|
||||
|
Loading…
Reference in New Issue
Block a user