summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-29 22:33:38 +0200
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commitbbc22fc8bc99be8c84272efa591487a33ef12fc4 (patch)
tree50bc8317e1d6f5e754c1d6b5144e65b1272f771e
parent0ff5483f0034a4240e897a8a13974d16b5d5d0a4 (diff)
downloadpoezio-bbc22fc8bc99be8c84272efa591487a33ef12fc4.tar.gz
poezio-bbc22fc8bc99be8c84272efa591487a33ef12fc4.tar.bz2
poezio-bbc22fc8bc99be8c84272efa591487a33ef12fc4.tar.xz
poezio-bbc22fc8bc99be8c84272efa591487a33ef12fc4.zip
fix: plugin config
-rw-r--r--poezio/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/plugin.py b/poezio/plugin.py
index 5fde7a12..4af27cbd 100644
--- a/poezio/plugin.py
+++ b/poezio/plugin.py
@@ -45,7 +45,7 @@ class PluginConfig(config.Config):
def read(self):
"""Read the config file"""
- RawConfigParser.read(self, str(self.file_name))
+ RawConfigParser.read(self.configparser, str(self.file_name))
if not self.has_section(self.module_name):
self.add_section(self.module_name)
@@ -64,7 +64,7 @@ class PluginConfig(config.Config):
"""Write the config to the disk"""
try:
with self.file_name.open('w') as fp:
- RawConfigParser.write(self, fp)
+ RawConfigParser.write(self.configparser, fp)
return True
except IOError:
return False