[Linting] Make PyLint happy with the current code

This commit is contained in:
2018-07-09 18:04:12 +02:00
parent 9af673666c
commit 69f2a0d9cc
2 changed files with 24 additions and 4 deletions

View File

@@ -298,6 +298,9 @@ class CalendarSocialApp(Flask):
@staticmethod
@route('/notifications')
def notifications():
"""View to list the notifications for the current user
"""
from .models import Notification
if current_user.is_authenticated: