1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
From: Paul Gevers <elbrus@debian.org>
Date: Thu, 19 Dec 2019 20:55:27 +0100
X-Dgit-Generated: 2.0.0+ds4-5.1 c6b34e17e6d2a9e517bfec3bd20c2e4f8e229a1e
Subject: generate.py support python
---
--- fontcustom-2.0.0+ds4.orig/lib/fontcustom/scripts/generate.py
+++ fontcustom-2.0.0+ds4/lib/fontcustom/scripts/generate.py
@@ -126,7 +126,7 @@ try:
manifest['fonts'].append(fontfile + '.woff')
# Convert EOT for IE7
- subprocess.call('python ' + scriptPath + '/eotlitetool.py ' + fontfile + '.ttf -o ' + fontfile + '.eot', shell=True)
+ subprocess.call('python3 ' + scriptPath + '/eotlitetool.py ' + fontfile + '.ttf -o ' + fontfile + '.eot', shell=True)
# check if windows
if os.name == 'nt':
subprocess.call('move ' + fontfile + '.eotlite ' + fontfile + '.eot', shell=True)
|