Give retweet function a return value
This commit is contained in:
parent
9b0dbf8bf1
commit
25ce567048
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue