We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b3695 commit 6c9faceCopy full SHA for 6c9face
2 files changed
scripts/r.unpack/r.unpack.py
@@ -82,7 +82,7 @@ def main():
82
try:
83
for fname in ['PROJ_INFO', 'PROJ_UNITS']:
84
f = tar.extractfile('{}/{}'.format(data_name, fname))
85
- sys.stdout.write(f.read())
+ sys.stdout.write(f.read().decode())
86
except KeyError:
87
grass.fatal(_("Pack file unreadable: file '{}' missing".format(fname)))
88
tar.close()
scripts/v.unpack/v.unpack.py
@@ -85,7 +85,7 @@ def main():
f = tar.extractfile(fname)
89
90
91
0 commit comments