Give retweet function a return value

This commit is contained in:
Klaus-Uwe Mitterer 2016-12-07 13:56:48 +01:00
parent 9b0dbf8bf1
commit 25ce567048

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