Skip to content

Commit

Permalink
gui - demote config changes to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
HENDRIX-ZT2 committed Oct 28, 2024
1 parent 044174a commit d8abb36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this file is auto-generated by a pre-commit hook
VERSION = "3.0.2"
COMMIT_HASH = "41ff291c1"
COMMIT_TIME = "Mon Oct 28 09:06:39 2024 +0100"
COMMIT_HASH = "044174a7b"
COMMIT_TIME = "Mon Oct 28 09:50:28 2024 +0100"
4 changes: 2 additions & 2 deletions ovl_util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __setitem__(self, k, v):
# key for manager may not exist
manager = self.settings.get(k)
if manager and isinstance(manager, ImmediateSetting):
logging.info(f"Saved '{self.name}' after storing '{k}'")
logging.debug(f"Saved '{self.name}' after storing '{k}'")
self.save()
#
# def __getitem__(self, k):
Expand All @@ -98,7 +98,7 @@ def cfg_path(self):
return os.path.join(self.dir, self.name)

def save(self):
logging.info(f"Saving config")
logging.debug(f"Saving config")
try:
with open(self.cfg_path, "w") as json_writer:
json.dump(self, json_writer, indent="\t", sort_keys=True)
Expand Down

0 comments on commit d8abb36

Please sign in to comment.