mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-11-16 07:47:18 +01:00
return str from load_resource()
This commit is contained in:
parent
0e0d7d8b14
commit
a1059650f6
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class ConfigWidget(QWidget):
|
|||
def load_resource(self, name):
|
||||
with ZipFile(self.plugin_path, 'r') as zf:
|
||||
if name in zf.namelist():
|
||||
return zf.read(name)
|
||||
return zf.read(name).decode('utf-8')
|
||||
return ""
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue