1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 11:59:15 +00:00

refactor debug logging

This commit is contained in:
deadc0de6
2021-04-29 14:51:44 +02:00
parent d03bfaed6d
commit 8021a0e137
11 changed files with 198 additions and 305 deletions

View File

@@ -106,7 +106,7 @@ class CfgYaml:
self._path = os.path.abspath(path)
self._profile = profile
self._debug = debug
self._log = Logger()
self._log = Logger(debug=self._debug)
# config needs to be written
self._dirty = False
# indicates the config has been updated