Make PyLint happy again

This commit is contained in:
2018-07-12 10:11:13 +02:00
parent 0a3cfafef3
commit 5550e5ecf3
2 changed files with 7 additions and 0 deletions

View File

@@ -403,6 +403,9 @@ class CalendarSocialApp(Flask):
@route('/edit-profile', methods=['GET', 'POST'])
@login_required
def edit_profile():
"""View for editing ones profile
"""
from .forms import ProfileForm
from .models import db
@@ -418,6 +421,9 @@ class CalendarSocialApp(Flask):
@staticmethod
@route('/all-events')
def all_events():
"""View for listing all available events
"""
from .calendar_system.gregorian import GregorianCalendar
try: