diff options
Diffstat (limited to 'src/util/gnunet-qr.py.in')
-rwxr-xr-x | src/util/gnunet-qr.py.in | 6 |
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 |
2 | from __future__ import print_function | ||
3 | from builtins import str | ||
2 | import sys | 4 | import sys |
3 | import getopt | 5 | import getopt |
4 | import subprocess | 6 | import 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: |