Safer 0.x version test

(cherry picked from commit d5079c2e73)
This commit is contained in:
Juergen Spitzmueller 2020-05-15 15:22:14 +02:00
parent 733389677f
commit f489ecab99

View File

@ -554,7 +554,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