forked from 0x2620/pandora
better error for failed imports
This commit is contained in:
parent
bcece622e3
commit
de818c4204
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ def download(item_id, url, referer=None):
|
||||||
f.extract_stream()
|
f.extract_stream()
|
||||||
status = True
|
status = True
|
||||||
else:
|
else:
|
||||||
|
logger.error("failed to import %s file already exists %s", url, oshash)
|
||||||
status = 'file exists'
|
status = 'file exists'
|
||||||
if len(parts) == 1:
|
if len(parts) == 1:
|
||||||
add_subtitles(f.item, media, tmp)
|
add_subtitles(f.item, media, tmp)
|
||||||
|
|
Loading…
Reference in a new issue