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
|
|
@ -1,7 +1,7 @@
|
||||||
## History of versions ##
|
## History of versions ##
|
||||||
|
|
||||||
* version 4.2 (2015-08-30)
|
#* version 4.2 (2015-08-30)
|
||||||
* Now can work with old and new versions of AVConv
|
# * Now can work with old and new versions of AVConv
|
||||||
|
|
||||||
* version 4.1 (2015-06-30)
|
* version 4.1 (2015-06-30)
|
||||||
* Fixed dependencies in package
|
* Fixed dependencies in package
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,8 @@ class avbase(devedeng.executor.executor):
|
||||||
self.minor_version = 0
|
self.minor_version = 0
|
||||||
|
|
||||||
for line in vtext:
|
for line in vtext:
|
||||||
|
if not isinstance(line, str):
|
||||||
|
continue
|
||||||
if (line.startswith("avconv version")):
|
if (line.startswith("avconv version")):
|
||||||
pos1 = line.find('.',15)
|
pos1 = line.find('.',15)
|
||||||
pos2 = line.find('-',15)
|
pos2 = line.find('-',15)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue