More Python2 fixes

This commit is contained in:
NoDRM
2023-08-03 20:45:06 +02:00
parent d388ae72fd
commit 53996cf49c
14 changed files with 44 additions and 41 deletions

View File

@@ -27,14 +27,14 @@ import hashlib
import getopt
import re
from utilities import SafeUnbuffered
from .utilities import SafeUnbuffered
try:
from calibre.constants import iswindows
except:
iswindows = sys.platform.startswith('win')
from argv_utils import unicode_argv
from .argv_utils import unicode_argv
class DrmException(Exception):
pass