mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 12:12:34 +01:00
reset delete-flag
Since 'PathFormat' objects are being reused, setting `delete` to True once caused all files downloaded after to be deleted as well.
This commit is contained in:
parent
91340d9d27
commit
a9e276bc37
@ -474,6 +474,7 @@ class PathFormat():
|
||||
def finalize(self):
|
||||
"""Move tempfile to its target location"""
|
||||
if self.delete:
|
||||
self.delete = False
|
||||
os.unlink(self.temppath)
|
||||
return
|
||||
|
||||
|
@ -22,6 +22,8 @@ TRAVIS_SKIP = {
|
||||
|
||||
# temporary issues, etc.
|
||||
BROKEN = {
|
||||
"senmanga",
|
||||
"smugmug",
|
||||
"whatisthisimnotgoodwithcomputers",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user