add debug
This commit is contained in:
parent
7e415314d8
commit
f8bfb898b7
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ class __project_codename_camel__:
|
|||
data['last_update'] = time.time()
|
||||
with open(self.config['cache_file'], 'w', encoding='utf-8') as cache_file:
|
||||
json.dump(data, cache_file, indent=2)
|
||||
self._log.debug(
|
||||
"Saved cached data in '%s'",
|
||||
self.config['cache_file']
|
||||
)
|
||||
|
||||
def _init_log(self):
|
||||
''' Initialize log object '''
|
||||
|
|
Loading…
Reference in a new issue