mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-01 01:52:02 +00:00
12 lines
187 B
Python
12 lines
187 B
Python
|
import os
|
||
|
from celery import shared_task
|
||
|
|
||
|
|
||
|
@shared_task
|
||
|
def delete_files(*args):
|
||
|
for item in args:
|
||
|
try:
|
||
|
os.remove(item)
|
||
|
except Exception:
|
||
|
pass
|