Skip to content

Commit 12bde9c

Browse files
author
Nekokatt
committed
Update runner.py
1 parent acc8021 commit 12bde9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class Config:
4848

4949

5050
def poll() -> None:
51+
global last_update
52+
5153
params = {**config.params, "since": last_update}
5254

5355
with requests.get(config.api_url, params=params) as resp:

0 commit comments

Comments
 (0)