Merge pull request #1398 from xxyzz/config

return str from load_resource()
This commit is contained in:
Apprentice Harper
2020-12-04 12:52:42 +00:00
committed by GitHub

View File

@@ -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 ""