Give retweet function a return value
This commit is contained in:
parent
a2bff5c6d7
commit
2a28589c6e
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
|
tw_counter = tw_counter + 1
|
||||||
|
|
||||||
db.closeConnection()
|
db.closeConnection()
|
||||||
|
return tw_counter
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
Loading…
Reference in a new issue