mirror of
https://github.com/grassmunk/Chicago95.git
synced 2025-07-31 01:24:36 +02:00
Change list array bound to prevent bug that would break compatibility with the first release (and only the first release, e.g Inkscape 1.4 but not 1.4.1) of every release
This commit is contained in:
parent
b68cf5c2b5
commit
2bdc7eae8b
@ -2560,7 +2560,7 @@ class ChicagoPlus:
|
|||||||
inkscape_path = subprocess.check_output(["which", "inkscape"]).strip().decode()
|
inkscape_path = subprocess.check_output(["which", "inkscape"]).strip().decode()
|
||||||
|
|
||||||
inkscape_version_cmd = subprocess.check_output([inkscape_path, "--version"])
|
inkscape_version_cmd = subprocess.check_output([inkscape_path, "--version"])
|
||||||
inkscape_version = inkscape_version_cmd.splitlines()[0].split()[1].decode().split(".")[0:3]
|
inkscape_version = inkscape_version_cmd.splitlines()[0].split()[1].decode().split(".")[0:2]
|
||||||
|
|
||||||
self.inkscape_info = inkscape_info(inkscape_path, inkscape_version)
|
self.inkscape_info = inkscape_info(inkscape_path, inkscape_version)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user