Fix restart if user has not mirrored anything
This commit is contained in:
parent
514b883e64
commit
a999fe00c2
|
|
@ -23,7 +23,10 @@ def start_cleanup():
|
|||
|
||||
def clean_all():
|
||||
aria2.remove_all(True)
|
||||
shutil.rmtree(DOWNLOAD_DIR)
|
||||
try:
|
||||
shutil.rmtree(DOWNLOAD_DIR)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
|
||||
def exit_clean_up(signal, frame):
|
||||
|
|
|
|||
Loading…
Reference in New Issue