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.
pull/1698/head
Yukari Tamura 3 years ago
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…
Cancel
Save