mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Fix conditional assignment
This commit is contained in:
parent
6d0d2d3f7e
commit
93ec74f1c7
1 changed files with 1 additions and 4 deletions
|
@ -80,10 +80,7 @@ def get_video_details(videofile, img=None, bitbucket=None):
|
||||||
file = videofile
|
file = videofile
|
||||||
if not core.FFPROBE:
|
if not core.FFPROBE:
|
||||||
return video_details, result
|
return video_details, result
|
||||||
if 'avprobe' in core.FFPROBE:
|
print_format = '-of' if 'avprobe' in core.FFPROBE else '-print_format'
|
||||||
print_format = '-of'
|
|
||||||
else:
|
|
||||||
print_format = '-print_format'
|
|
||||||
try:
|
try:
|
||||||
if img:
|
if img:
|
||||||
videofile = '-'
|
videofile = '-'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue