Skip to content
Snippets Groups Projects
Commit a09d1c86 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'fix-clear-cache-on-startup' into 'master'

Fix clear cache on startup

See merge request !213
parents 4d80d708 9d693001
No related branches found
No related tags found
1 merge request!213Fix clear cache on startup
Pipeline #30358 passed
...@@ -194,7 +194,7 @@ def read_config(): ...@@ -194,7 +194,7 @@ def read_config():
config['cache']['object_cache'] = os.path.expanduser(config['cache']['object_cache']).format(pid=os.getpid()) config['cache']['object_cache'] = os.path.expanduser(config['cache']['object_cache']).format(pid=os.getpid())
if config['cache']['clear_cache_on_start']: if config['cache']['clear_cache_on_start']:
clear_cache() shutil.rmtree(config['cache']['object_cache'], ignore_errors=True)
create_folder(config['cache']['object_cache'], False) create_folder(config['cache']['object_cache'], False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment