inital commit 1
This commit is contained in:
commit
db645123c7
196 files changed
+11102
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import os
|
||||
import dramatiq
|
||||
|
||||
from utils.shortcuts import DRAMATIQ_WORKER_ARGS
|
||||
|
||||
|
||||
@dramatiq.actor(**DRAMATIQ_WORKER_ARGS())
|
||||
def delete_files(*args):
|
||||
for item in args:
|
||||
try:
|
||||
os.remove(item)
|
||||
except Exception:
|
||||
pass
|
||||
Reference in new issue
Block a user