From 6278d391e0631fd7bf0b0d9469550c0b4674cb91 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 26 Jul 2016 14:35:37 +0200 Subject: [PATCH] Style fix: split long line --- digimarks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/digimarks.py b/digimarks.py index 262dd1e..3da2a32 100644 --- a/digimarks.py +++ b/digimarks.py @@ -221,7 +221,8 @@ def bookmarks(userkey, sortmethod = None): message = request.args.get('message') if request.method == 'POST': filter_on = request.form['filter'] - bookmarks = Bookmark.select().where(Bookmark.userkey == userkey, Bookmark.title.contains(filter_on), Bookmark.status == Bookmark.VISIBLE).order_by(Bookmark.created_date.desc()) + bookmarks = Bookmark.select().where(Bookmark.userkey == userkey, Bookmark.title.contains(filter_on), + Bookmark.status == Bookmark.VISIBLE).order_by(Bookmark.created_date.desc()) return render_template('bookmarks.html', bookmarks=bookmarks, userkey=userkey, tags=all_tags[userkey], filter=filter_on, message=message) else: bookmarks = Bookmark.select().where(Bookmark.userkey == userkey, Bookmark.status == Bookmark.VISIBLE).order_by(Bookmark.created_date.desc())