mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 05:06:44 +02:00
Fix #307 error reporting on fetch failures
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user