forked from kenzuya/unshackle
refactor(temp): read the free space where the failed step deletes its temp files
This commit is contained in:
@@ -38,6 +38,7 @@ from unshackle.core.drm.verify import (
|
||||
)
|
||||
from unshackle.core.events import events
|
||||
from unshackle.core.session import MAX_BACKOFF, AnySession, RnetSession, unrecorded, utf8_text
|
||||
from unshackle.core.temp import low_free_space
|
||||
from unshackle.core.tracks.segment_store import SegmentStore
|
||||
from unshackle.core.utilities import language_name, log_event
|
||||
from unshackle.core.utils import run_proxy
|
||||
@@ -832,8 +833,9 @@ class Track:
|
||||
abandon()
|
||||
progress(downloaded="[yellow]SKIPPED")
|
||||
return
|
||||
except (Exception, KeyboardInterrupt):
|
||||
except (Exception, KeyboardInterrupt) as e:
|
||||
if not DOWNLOAD_LICENCE_ONLY.is_set():
|
||||
low_free_space(e)
|
||||
abandon()
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user