aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-qr.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-qr.py.in')
-rwxr-xr-xsrc/util/gnunet-qr.py.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/gnunet-qr.py.in b/src/util/gnunet-qr.py.in
index a5918fdf8..ceed8bd77 100755
--- a/src/util/gnunet-qr.py.in
+++ b/src/util/gnunet-qr.py.in
@@ -1,4 +1,6 @@
1#!@PYTHON@ 1#!@ENV@ python2.7
2from __future__ import print_function
3from builtins import str
2import sys 4import sys
3import getopt 5import getopt
4import subprocess 6import subprocess
@@ -100,7 +102,7 @@ if __name__ == '__main__':
100 cmd += " " + str(a) 102 cmd += " " + str(a)
101 if (verbose): 103 if (verbose):
102 print('Running `' + cmd +'`') 104 print('Running `' + cmd +'`')
103 res=subprocess.call(args) 105 res = subprocess.call(args)
104 if (0 != res): 106 if (0 != res):
105 print('Failed to add URI ' + str(symbol.data)) 107 print('Failed to add URI ' + str(symbol.data))
106 else: 108 else: