Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Robinson committed Apr 19, 2021
1 parent 1aedfa5 commit affded9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ def get_property(self, key):
def set_property(self, key, val):
config = configparser.ConfigParser()
config.read(self.config_file)
print(config["settings"][key])
config["settings"][key] = val
print(config["settings"][key])
with open(self.config_file, "w") as f:
config.write(f)

Expand Down

0 comments on commit affded9

Please sign in to comment.