Merge pull request #1398 from xxyzz/config

return str from load_resource()
pull/1413/head 7.0.0b4
Apprentice Harper 3 years ago committed by GitHub
commit 13e9a14907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save