Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
foolcage committed Jul 9, 2018
1 parent 4757a5c commit 64023bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fooltrader/bot/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class WeixinAction(Action):
def __init__(self) -> None:
self.refresh_token()

schedule.every(10).minutes.do(self.refresh_token())
schedule.every(10).minutes.do(self.refresh_token)

def refresh_token(self):
resp = requests.get(self.GET_TOKEN_URL)
Expand Down

0 comments on commit 64023bd

Please sign in to comment.