Skip to content

Commit 2baae7f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6f42d32 commit 2baae7f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

app/routes/account/hosting/vhost.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ def request_vhost(
123123
try:
124124
settings = get_settings()
125125
send_mail(
126-
127-
if not settings.debug
128-
else current_user_formatted_email(),
126+
(
127+
128+
if not settings.debug
129+
else current_user_formatted_email()
130+
),
129131
subject,
130132
message,
131133
sender=data.email,

app/utils/cache.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Caching decorators for ocfweb."""
2+
23
import logging
34
import math
45
from collections import namedtuple

app/utils/celery.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
creation using our special credentials. Other modules should import from here,
55
rather than from ocflib directly.
66
"""
7+
78
import ssl
89

910
from celery import Celery

0 commit comments

Comments
 (0)