mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix sip loading when not provided from Qt
This commit is contained in:
parent
90eb2c43f0
commit
80c90ada43
@ -10,7 +10,10 @@ import numbers
|
||||
import sys
|
||||
from collections import namedtuple
|
||||
|
||||
try:
|
||||
from PyQt5 import sip
|
||||
except ImportError:
|
||||
import sip
|
||||
from PyQt5.Qt import QApplication, QEventLoop, pyqtSignal
|
||||
from PyQt5.QtWebEngineWidgets import (
|
||||
QWebEnginePage, QWebEngineProfile, QWebEngineScript
|
||||
|
Loading…
x
Reference in New Issue
Block a user