Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
fix: remove wrong files
Browse files Browse the repository at this point in the history
  • Loading branch information
bitterteriyaki committed Nov 28, 2023
1 parent b29600d commit 4e0113d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion in.txt

This file was deleted.

1 change: 0 additions & 1 deletion out.txt

This file was deleted.

10 changes: 10 additions & 0 deletions server/celery.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from os import environ

Check warning on line 1 in server/celery.py

View check run for this annotation

Codecov / codecov/patch

server/celery.py#L1

Added line #L1 was not covered by tests

from celery import Celery

Check warning on line 3 in server/celery.py

View check run for this annotation

Codecov / codecov/patch

server/celery.py#L3

Added line #L3 was not covered by tests

environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings.development")

Check warning on line 5 in server/celery.py

View check run for this annotation

Codecov / codecov/patch

server/celery.py#L5

Added line #L5 was not covered by tests

app = Celery("virtualjudge")

Check warning on line 7 in server/celery.py

View check run for this annotation

Codecov / codecov/patch

server/celery.py#L7

Added line #L7 was not covered by tests

app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()

Check warning on line 10 in server/celery.py

View check run for this annotation

Codecov / codecov/patch

server/celery.py#L9-L10

Added lines #L9 - L10 were not covered by tests

0 comments on commit 4e0113d

Please sign in to comment.