equal
deleted
inserted
replaced
49 pass |
49 pass |
50 |
50 |
51 if inkcmd is None: |
51 if inkcmd is None: |
52 return None |
52 return None |
53 |
53 |
54 return inkcmd.replace('"%1"', '').strip().replace('"', '') |
54 return inkcmd.replace('"%1"', '').strip().replace('"', '').encode() |
55 |
55 |
56 else: |
56 else: |
57 try: |
57 try: |
58 return subprocess.check_output("command -v inkscape", shell=True).strip() |
58 return subprocess.check_output("command -v inkscape", shell=True).strip() |
59 except subprocess.CalledProcessError: |
59 except subprocess.CalledProcessError: |