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

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