Skip to content
Snippets Groups Projects
Commit 486cf3bb authored by David Schmitz's avatar David Schmitz
Browse files

fix for new tasks::delete_route

parent f47e44c6
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,7 @@ def delete_route(routepk, **kwargs):
# call deactivate_route() directly since we are already on background (celery task)
try:
deactivate_route(routepk)
route = Route.objects.get(pk=routepk)
except TimeoutError:
pass
except Exception as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment