From f4dcf6fb91c0fb0648867e2e75c5810d289b5b20 Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Sat, 12 Nov 2016 18:25:33 +0100 Subject: [PATCH] modified: submitbot_tcp.py --- submitbot_tcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submitbot_tcp.py b/submitbot_tcp.py index 791f4da..4a58a4e 100644 --- a/submitbot_tcp.py +++ b/submitbot_tcp.py @@ -26,7 +26,7 @@ def submit(sock,flag): submission_success = False fs=sock.makefile() - print "submitting flag: "+flag + print "*** Submitting flag: "+flag sock.sendall(flag+"\n") @@ -81,7 +81,7 @@ def main(): try: cur = dbconn.cursor(cursor_factory=psycopg2.extras.DictCursor) cur.execute("SELECT * from flags where status = 0 or status = 4 order by random() limit 1") - print "Fetched " + str(cur.rowcount) + " rows" + #print "Fetched " + str(cur.rowcount) + " rows" if cur.rowcount == 0: print "*** sleeping another "+str(sleeptime)+" sec..." time.sleep(sleeptime) -- 2.43.0