aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpapush2021-04-29 15:48:34 +0200
committerpapush2021-04-29 15:48:34 +0200
commit775dc998bda0b2ed56ff17492d28825775634f60 (patch)
tree37e397bf52513a31fae8a3fb3a7538c0146688d1
parent404372326e9d854b065175ef1f4634fd78ca8afa (diff)
migrate build script to python3
-rw-r--r--build.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.py b/build.py
index 2eff878..f52b4a6 100644
--- a/build.py
+++ b/build.py
@@ -1,6 +1,6 @@
import os, os.path, zipfile, sys
-xpi = zipfile.ZipFile('redirector-' + raw_input('Version: ') + '.xpi','w')
+xpi = zipfile.ZipFile('redirector-' + input('Version: ') + '.xpi','w')
for (root, folders, files) in os.walk('.'):
if 'unittest' in root:
continue
@@ -10,5 +10,3 @@ for (root, folders, files) in os.walk('.'):
xpi.write(os.path.join(root[2:],f))
xpi.close()
-
-