mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2025-01-12 11:24:43 +06:00
Small fix to make Obok help work.
This commit is contained in:
parent
13e9a14907
commit
225e74a334
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user