mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
remove py2 fallback
This commit is contained in:
parent
f0a619ac14
commit
2d76098a19
@ -43,10 +43,7 @@ from polyglot import queue
|
||||
from polyglot.builtins import iteritems, string_or_bytes
|
||||
|
||||
del pqc
|
||||
try:
|
||||
NO_URL_FORMATTING = QUrl.UrlFormattingOption.None_
|
||||
except AttributeError:
|
||||
NO_URL_FORMATTING = getattr(QUrl, 'None')
|
||||
if islinux:
|
||||
from qt.dbus import QDBusConnection, QDBusMessage, QDBusVariant
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user