Safer 0.x version test

This commit is contained in:
Juergen Spitzmueller 2020-05-15 15:22:14 +02:00
parent 74f831e06d
commit d5079c2e73

View File

@ -542,7 +542,7 @@ def checkInkscape():
def checkInkscapeStable(): def checkInkscapeStable():
''' Check whether we use Inkscape >= 1.0 ''' ''' Check whether we use Inkscape >= 1.0 '''
version_string = cmdOutput("inkscape --version") version_string = cmdOutput("inkscape --version")
if version_string.find('0.9') > 0: if version_string.find(' 0.') > 0:
return False return False
else: else:
return True return True