Commit 1ca372f5 authored by Fabien  MAREUIL's avatar Fabien MAREUIL
Browse files

style black

parent 2acbeee8
Pipeline #46850 passed with stages
in 19 minutes and 17 seconds
# -*- coding: utf-8 -*-
from django.http import HttpResponseRedirect from django.http import HttpResponseRedirect
from maintenance_mode.core import set_maintenance_mode from maintenance_mode.core import set_maintenance_mode
...@@ -13,7 +10,7 @@ def maintenance_mode_off(request): ...@@ -13,7 +10,7 @@ def maintenance_mode_off(request):
if request.user.is_superuser: if request.user.is_superuser:
set_maintenance_mode(False) set_maintenance_mode(False)
return HttpResponseRedirect('/admin') return HttpResponseRedirect("/admin")
def maintenance_mode_on(request): def maintenance_mode_on(request):
...@@ -24,4 +21,4 @@ def maintenance_mode_on(request): ...@@ -24,4 +21,4 @@ def maintenance_mode_on(request):
if request.user.is_superuser: if request.user.is_superuser:
set_maintenance_mode(True) set_maintenance_mode(True)
return HttpResponseRedirect('/admin') return HttpResponseRedirect("/admin")
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment