Give retweet function a return value

This commit is contained in:
Klaus-Uwe Mitterer 2016-12-07 13:56:48 +01:00
parent a2bff5c6d7
commit 2a28589c6e

View file

@ -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()