Apply pycodestyle recommendation on logger.py
This commit is contained in:
parent
2add88cbb4
commit
6111cc3514
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,7 @@ from .signals import siglog
|
|||
from .models import Device, Wifi, DeviceLog, UserLog, WifiLog
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
@receiver(siglog)
|
||||
def logger(sender, **kwargs):
|
||||
if sender == Device:
|
||||
|
@ -22,4 +23,3 @@ def logger(sender, **kwargs):
|
|||
oldvalue=kwargs["oldvalue"],
|
||||
newvalue=kwargs["newvalue"]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue