From 1a8102bb808d14409b16ba752c17e1d9db35cb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= Date: Mon, 30 Nov 2015 23:14:20 +0100 Subject: [PATCH] sendGraph: Fix printed messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- scripts/sendGraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sendGraph.py b/scripts/sendGraph.py index 7c088c0..e7ae3bc 100755 --- a/scripts/sendGraph.py +++ b/scripts/sendGraph.py @@ -169,7 +169,7 @@ def get_peers(con, path, nearbyPath=''): i += 1 - print('get_peers: timed out on final try, skipping {:s}' + print('get_peers: failed on final try, skipping {:s}' .format(formatted_path)) return [] @@ -256,7 +256,7 @@ def send_graph(nodes, edges): if r.text == 'OK': print('Done!') else: - print('Error: {:s}'.format(r.text)) + print('{:s}'.format(r.text)) if __name__ == '__main__': main()