events: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -105,7 +105,9 @@ def notification_transport( | ||||
|     """Send notification over specified transport""" | ||||
|     self.save_on_success = False | ||||
|     try: | ||||
|         notification: Notification = Notification.objects.filter(pk=notification_pk).first() | ||||
|         notification: Notification = Notification.objects.filter( | ||||
|             pk=notification_pk | ||||
|         ).first() | ||||
|         if not notification: | ||||
|             return | ||||
|         transport: NotificationTransport = NotificationTransport.objects.get( | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer