diff --git a/apps/develop/tasks.py b/apps/develop/tasks.py index 89207be3..5157fa53 100755 --- a/apps/develop/tasks.py +++ b/apps/develop/tasks.py @@ -25,15 +25,15 @@ def backup_database(): @shared_task def reload_server_git(): command = 'bash {}/git_server.sh'.format(SH_PATH) - completed = subprocess.run(command, shell=True, capture_output=True, text=True) - return completed + subprocess.run(command, shell=True, capture_output=True, text=True) + # return completed @shared_task def reload_web_git(): command = 'bash {}/git_web.sh'.format(SH_PATH) - completed = subprocess.run(command, shell=True, capture_output=True, text=True) - return completed + subprocess.run(command, shell=True, capture_output=True, text=True) + # return completed @shared_task