Update utils.py
This commit is contained in:
committed by
GitHub
parent
eefafc5775
commit
f293567f1f
+1
-2
@@ -16,10 +16,9 @@ def hash_file(filepath, chunk_size=65536):
|
|||||||
break
|
break
|
||||||
sha256.update(data)
|
sha256.update(data)
|
||||||
return sha256.hexdigest()
|
return sha256.hexdigest()
|
||||||
return sha256.hexdigest()
|
|
||||||
|
|
||||||
|
|
||||||
def log_task_progress(task_id, step_name, status, message=None, file_id=None):
|
|
||||||
def log_task_progress(task_id, step_name, status, message=None, file_id=None):
|
def log_task_progress(task_id, step_name, status, message=None, file_id=None):
|
||||||
"""
|
"""
|
||||||
Logs the progress of a Celery task to the database.
|
Logs the progress of a Celery task to the database.
|
||||||
|
|||||||
Reference in New Issue
Block a user