Skip to content

Commit

Permalink
Merge pull request #3 from KogoCampus/ubc-scraper
Browse files Browse the repository at this point in the history
fix: fix args in run_task
  • Loading branch information
jiin-kim109 authored Jan 31, 2025
2 parents f5cc3b1 + 6d298d7 commit b909599
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
sys.exit(1)

# Run the Celery task directly without going through the Celery worker
run_scraper.apply(args=sys.argv[1]).get()
print(sys.argv[1])
run_scraper.apply(args=[sys.argv[1]]).get()

0 comments on commit b909599

Please sign in to comment.