1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-19 12:43:35 +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

@@ -144,7 +144,7 @@ class PDFOutput(OutputFormatPlugin):
from PyQt5.QtWebEngineCore import QWebEngineUrlScheme
from PyQt5.QtWebEngineWidgets import QWebEnginePage # noqa
from ebook_converter.gui2 import must_use_qt
from ebook_converter.constants import FAKE_PROTOCOL
from ebook_converter.constants_old import FAKE_PROTOCOL
scheme = QWebEngineUrlScheme(FAKE_PROTOCOL.encode('ascii'))
scheme.setSyntax(QWebEngineUrlScheme.Syntax.Host)
scheme.setFlags(QWebEngineUrlScheme.SecureScheme)