mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Prevent appending of empty files list
This commit is contained in:
parent
82d1ba83ff
commit
0a3b2cd443
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ def rip_iso(item, new_dir, bitbucket):
|
||||||
name=os.path.splitext(os.path.split(item)[1])[0], x=n
|
name=os.path.splitext(os.path.split(item)[1])[0], x=n
|
||||||
)
|
)
|
||||||
new_files.append({item: {'name': name, 'files': concat}})
|
new_files.append({item: {'name': name, 'files': concat}})
|
||||||
if core.CONCAT:
|
if core.CONCAT and combined:
|
||||||
name = os.path.splitext(os.path.split(item)[1])[0]
|
name = os.path.splitext(os.path.split(item)[1])[0]
|
||||||
new_files.append({item: {'name': name, 'files': combined}})
|
new_files.append({item: {'name': name, 'files': combined}})
|
||||||
if not new_files:
|
if not new_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue