Skip to content

Commit

Permalink
remove unnecessary dep
Browse files Browse the repository at this point in the history
  • Loading branch information
foolcage committed Sep 22, 2020
1 parent c3aa32b commit 4e63b20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ marshmallow == 3.2.2
plotly==4.7.1
dash==1.1.1
simplejson==3.16.0
html5lib == 1.0.1
schedule == 0.6.0
pluggy
2 changes: 0 additions & 2 deletions zvt/informer/informer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from email.mime.text import MIMEText

import requests
import schedule

from zvt import zvt_env

Expand Down Expand Up @@ -89,7 +88,6 @@ class WechatInformer(Informer):

def __init__(self) -> None:
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 4e63b20

Please sign in to comment.