mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 16:41:56 +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
|