mirror of
https://github.com/chubin/cheat.sh
synced 2024-11-13 22:47:08 +00:00
Fix #307 error reporting on fetch failures
This commit is contained in:
parent
a18e6d8089
commit
ac3ed3cce2
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def fetch_all(skip_existing=True):
|
|||
raise
|
||||
output = process.communicate()[0]
|
||||
if process.returncode != 0:
|
||||
sys.stdout.write("\nERROR:\n---\n" + output)
|
||||
sys.stdout.write("\nERROR:\n---\n" + str(output))
|
||||
fatal("---\nCould not fetch %s" % adptr)
|
||||
else:
|
||||
print("Done")
|
||||
|
|
Loading…
Reference in a new issue