Reformat using black

This commit is contained in:
cuom1999 2022-05-14 12:57:27 -05:00
parent efee4ad081
commit a87fb49918
221 changed files with 19127 additions and 7310 deletions

View file

@ -1,6 +1,6 @@
from django.conf import settings
__all__ = ['last', 'post']
__all__ = ["last", "post"]
if not settings.EVENT_DAEMON_USE:
real = False
@ -10,9 +10,12 @@ if not settings.EVENT_DAEMON_USE:
def last():
return 0
elif hasattr(settings, 'EVENT_DAEMON_AMQP'):
elif hasattr(settings, "EVENT_DAEMON_AMQP"):
from .event_poster_amqp import last, post
real = True
else:
from .event_poster_ws import last, post
real = True