equal
deleted
inserted
replaced
75 def _get_inkscape_version(): |
75 def _get_inkscape_version(): |
76 inkpath = get_inkscape_path() |
76 inkpath = get_inkscape_path() |
77 if inkpath is None: |
77 if inkpath is None: |
78 return None |
78 return None |
79 return list(map(int, |
79 return list(map(int, |
80 subprocess.check_output([inkpath,"--version"]).split()[1].split('.'))) |
80 subprocess.check_output([inkpath,"--version"]).split()[1].split(b'.'))) |
81 |
81 |
82 _inkscape_version = None |
82 _inkscape_version = None |
83 def get_inkscape_version(): |
83 def get_inkscape_version(): |
84 global _inkscape_version |
84 global _inkscape_version |
85 |
85 |