1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-18 03:53:32 +02:00

Renamed constants, to make room for real constants module

This commit is contained in:
2020-05-26 19:52:18 +02:00
parent 399456d9ad
commit 2c78d6e3a6
55 changed files with 59 additions and 58 deletions

View File

@@ -8,7 +8,7 @@ import tempfile
import time
from functools import partial
from ebook_converter.constants import (
from ebook_converter.constants_old import (
__appname__, fcntl, filesystem_encoding, islinux, isosx, iswindows, plugins
)
from ebook_converter.utils.monotonic import monotonic
@@ -16,7 +16,7 @@ from ebook_converter.utils.monotonic import monotonic
# speedup = plugins['speedup'][0]
if iswindows:
import msvcrt, win32file, pywintypes, winerror, win32api, win32event
from ebook_converter.constants import get_windows_username
from ebook_converter.constants_old import get_windows_username
excl_file_mode = stat.S_IREAD | stat.S_IWRITE
else:
excl_file_mode = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH