Skip to content

Commit

Permalink
Re-added ctypes import.
Browse files Browse the repository at this point in the history
  • Loading branch information
dozed committed Oct 12, 2011
1 parent aa52701 commit 5b33ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions makePDF.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
def getOEMCP():
# Windows OEM/Ansi codepage mismatch issue.
# We need the OEM cp, because texify and friends are console programs
import ctypes
codepage = ctypes.windll.kernel32.GetOEMCP()
return str(codepage)

Expand Down

0 comments on commit 5b33ba3

Please sign in to comment.