From 775dc998bda0b2ed56ff17492d28825775634f60 Mon Sep 17 00:00:00 2001 From: papush Date: Thu, 29 Apr 2021 15:48:34 +0200 Subject: migrate build script to python3 --- build.py | 4 +--- 1 file changed, 1 insertion(+), 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() - - -- cgit v1.2.3