Skip to content

Commit 5b33ba3

Browse files
committed
Re-added ctypes import.
1 parent aa52701 commit 5b33ba3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

makePDF.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
def getOEMCP():
2121
# Windows OEM/Ansi codepage mismatch issue.
2222
# We need the OEM cp, because texify and friends are console programs
23+
import ctypes
2324
codepage = ctypes.windll.kernel32.GetOEMCP()
2425
return str(codepage)
2526

0 commit comments

Comments
 (0)