Bugfix in config, r instead of w arg

This commit is contained in:
Phyks 2014-06-30 00:38:29 +02:00
parent 7e99f7898a
commit fc5c6488c1
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Config():
def save(self):
try:
with open(self.config_path + "bmc.json", 'r') as fh:
with open(self.config_path + "bmc.json", 'w') as fh:
fh.write(json.dumps(self.config))
except IOError:
tools.warning("Could not write config file.")