Fixed a bug in Ubuntu, that prevented it to work

This commit is contained in:
Sergio Costas 2015-08-31 12:08:58 +02:00
parent 15e237bab2
commit 6a40158e7b
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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)