mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
ensure_text plugin-example.ini for py3
This commit is contained in:
parent
f326301f38
commit
882966cc0c
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ from calibre.gui2 import gprefs
|
|||
show_download_options = 'fff:add new/update dialogs:show_download_options'
|
||||
from calibre.gui2.dialogs.confirm_delete import confirm
|
||||
from calibre.gui2.complete2 import EditWithComplete
|
||||
from .fanficfare.six import text_type as unicode
|
||||
from .fanficfare.six import text_type as unicode, ensure_text
|
||||
|
||||
# pulls in translation files for _() strings
|
||||
try:
|
||||
|
|
@ -1352,7 +1352,7 @@ class IniTextDialog(SizePersistedDialog):
|
|||
|
||||
self.textedit.setReadOnly(read_only)
|
||||
|
||||
self.textedit.setText(text)
|
||||
self.textedit.setText(ensure_text(text))
|
||||
self.l.addWidget(self.textedit)
|
||||
|
||||
self.lastStart = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue