This commit is contained in:
han0
2024-06-05 09:21:00 +08:00
parent a5619836f1
commit e6442b2cf9
4 changed files with 22 additions and 12 deletions

View File

@@ -9,5 +9,5 @@ def collect(year=2023, month=11):
if __name__ == '__main__':
from core.factory import ClientApp
with ClientApp().app_context:
collect()
with ClientApp().app_context():
collect(2024, 4)