kopia lustrzana https://github.com/hholzgra/maposmatic/
exclude the error log from being purged on errors
rodzic
c6130c6994
commit
b88b7cbe06
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue