mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-12-26 09:58:55 +01:00
Merge pull request #1413 from ableeker/python3
Small fix to make Obok help link work.
This commit is contained in:
commit
d33f679eae
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class InterfacePluginAction(InterfaceAction):
|
||||||
# We will write the help file out every time, in case the user upgrades the plugin zip
|
# 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.
|
# and there is a newer help file contained within it.
|
||||||
file_path = os.path.join(config_dir, 'plugins', HELPFILE_NAME)
|
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:
|
with open(file_path,'w') as f:
|
||||||
f.write(file_data)
|
f.write(file_data)
|
||||||
return file_path
|
return file_path
|
||||||
|
|
Loading…
Reference in a new issue