mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-03-20 04:58:56 +00:00
Fix more Py2/Py3 stuff
This commit is contained in:
@@ -92,13 +92,14 @@ def unpad(data, padding=16):
|
||||
|
||||
return data[:-pad_len]
|
||||
|
||||
#@@CALIBRE_COMPAT_CODE@@
|
||||
|
||||
from .utilities import SafeUnbuffered
|
||||
from .argv_utils import unicode_argv
|
||||
|
||||
iswindows = sys.platform.startswith('win')
|
||||
isosx = sys.platform.startswith('darwin')
|
||||
|
||||
from .argv_utils import unicode_argv
|
||||
|
||||
class ADEPTError(Exception):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user