Fixed a bug in Ubuntu, that prevented it to work
This commit is contained in:
parent
15e237bab2
commit
6a40158e7b
2 changed files with 4 additions and 2 deletions
|
|
@ -40,6 +40,8 @@ class avbase(devedeng.executor.executor):
|
|||
self.minor_version = 0
|
||||
|
||||
for line in vtext:
|
||||
if not isinstance(line, str):
|
||||
continue
|
||||
if (line.startswith("avconv version")):
|
||||
pos1 = line.find('.',15)
|
||||
pos2 = line.find('-',15)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue