Commit bbc22fc8 authored by mathieui's avatar mathieui

fix: plugin config

parent 0ff5483f
Pipeline #3846 passed with stages
in 9 minutes and 7 seconds
......@@ -45,7 +45,7 @@ class PluginConfig(config.Config):
def read(self):
"""Read the config file""", str(self.file_name)), str(self.file_name))
if not self.has_section(self.module_name):
......@@ -64,7 +64,7 @@ class PluginConfig(config.Config):
"""Write the config to the disk"""
with'w') as fp:
RawConfigParser.write(self, fp)
RawConfigParser.write(self.configparser, fp)
return True
except IOError:
return False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment