rename cache files for better overview

This commit is contained in:
Laura Klünder 2017-11-20 17:25:21 +01:00
parent e06c71be61
commit a6daeb6153
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ class Command(BaseCommand):
if options['include_history']:
logger.info('Deleting base history...')
for filename in os.listdir(settings.CACHE_ROOT):
if filename.startswith('level_') and '_history_base' in filename:
if filename.startswith('history_base_'):
logger.info('Deleting %s...' % filename)
os.remove(os.path.join(settings.CACHE_ROOT, filename))
logger.info('Base history deleted.')