mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-30 00:33:32 +02:00
Removed polyglots unicode_type usage
This commit is contained in:
@@ -2,7 +2,6 @@ import os, sys, zipfile, importlib
|
||||
|
||||
from ebook_converter.constants import numeric_version, iswindows, isosx
|
||||
from ebook_converter.ptempfile import PersistentTemporaryFile
|
||||
from ebook_converter.polyglot.builtins import unicode_type
|
||||
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
@@ -196,7 +195,7 @@ class Plugin(object): # {{{
|
||||
config_dialog.exec_()
|
||||
|
||||
if config_dialog.result() == QDialog.Accepted:
|
||||
sc = unicode_type(sc.text()).strip()
|
||||
sc = str(sc.text()).strip()
|
||||
customize_plugin(self, sc)
|
||||
|
||||
geom = bytearray(config_dialog.saveGeometry())
|
||||
|
||||
Reference in New Issue
Block a user