From 25ce567048324ffcf949a2b2ca22029e1af602be Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 7 Dec 2016 13:56:48 +0100 Subject: [PATCH] Give retweet function a return value --- retweeter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retweeter.py b/retweeter.py index 82697a1..e5d5801 100755 --- a/retweeter.py +++ b/retweeter.py @@ -34,7 +34,7 @@ def retweet(user, two=twitools.twObject(), db=dbtools.dbHelper()): tw_counter = tw_counter + 1 db.closeConnection() - + return tw_counter if __name__ == "__main__": parser = argparse.ArgumentParser()