summaryrefslogtreecommitdiffstats
path: root/Obok_plugin
diff options
context:
space:
mode:
authorAldo Bleeker <[email protected]>2020-12-09 17:34:24 +0100
committerAldo Bleeker <[email protected]>2020-12-09 17:34:24 +0100
commit225e74a334db4b4751f340111e3cbcead172c6a0 (patch)
tree9e9ecfa993c6581c1ea8144ea8a8286df2371281 /Obok_plugin
parent13e9a14907e5dcfcd2bde8ca40b1d4e70dab8539 (diff)
Small fix to make Obok help work.
Diffstat (limited to 'Obok_plugin')
-rw-r--r--Obok_plugin/action.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Obok_plugin/action.py b/Obok_plugin/action.py
index e94204f..1a4515b 100644
--- a/Obok_plugin/action.py
+++ b/Obok_plugin/action.py
@@ -197,7 +197,7 @@ class InterfacePluginAction(InterfaceAction):
# We will write the help file out every time, in case the user upgrades the plugin zip
# and there is a newer help file contained within it.
file_path = os.path.join(config_dir, 'plugins', HELPFILE_NAME)
- file_data = self.load_resources(HELPFILE_NAME)[HELPFILE_NAME]
+ file_data = self.load_resources(HELPFILE_NAME)[HELPFILE_NAME].decode('utf-8')
with open(file_path,'w') as f:
f.write(file_data)
return file_path