From d5079c2e73cd8e6a9f4261bf610ec6147b0226d2 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 15 May 2020 15:22:14 +0200 Subject: [PATCH] Safer 0.x version test --- lib/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index aadb156ed1..f0672d4c90 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -542,7 +542,7 @@ def checkInkscape(): def checkInkscapeStable(): ''' Check whether we use Inkscape >= 1.0 ''' version_string = cmdOutput("inkscape --version") - if version_string.find('0.9') > 0: + if version_string.find(' 0.') > 0: return False else: return True