mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 05:01:10 -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
|
||||
if not core.FFPROBE:
|
||||
return video_details, result
|
||||
if 'avprobe' in core.FFPROBE:
|
||||
print_format = '-of'
|
||||
else:
|
||||
print_format = '-print_format'
|
||||
print_format = '-of' if 'avprobe' in core.FFPROBE else '-print_format'
|
||||
try:
|
||||
if img:
|
||||
videofile = '-'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue