exclude the error log from being purged on errors

pull/60/head
Hartmut Holzgraefe 2020-11-01 11:52:00 +00:00
rodzic c6130c6994
commit b88b7cbe06
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -263,7 +263,7 @@ class MapRenderingJob(models.Model):
saved = 0
removed = 0
for f in (list(files['maps'].values()) + list(files['indeces'].values()) + files['thumbnail'] + files['errorlog']):
for f in (list(files['maps'].values()) + list(files['indeces'].values()) + files['thumbnail']):
try:
os.remove(f[3])
removed += 1