mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for last py3 merge
This commit is contained in:
parent
ec3238d1cd
commit
609400ceba
@ -3,12 +3,16 @@
|
||||
# License: GPLv3 Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net>
|
||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||
|
||||
import sys, subprocess, struct, os
|
||||
import os
|
||||
import struct
|
||||
import subprocess
|
||||
import sys
|
||||
from threading import Thread
|
||||
from uuid import uuid4
|
||||
|
||||
from PyQt5.Qt import pyqtSignal, QEventLoop, Qt
|
||||
from polyglot.builtins import string_or_bytes, filter
|
||||
from PyQt5.Qt import QEventLoop, Qt, pyqtSignal
|
||||
|
||||
from polyglot.builtins import filter, string_or_bytes, unicode_type
|
||||
|
||||
is64bit = sys.maxsize > (1 << 32)
|
||||
base = sys.extensions_location if hasattr(sys, 'new_app_layout') else os.path.dirname(sys.executable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user