From cc80db1e318d2ab8e6f9f24662ccc3a1beab7e8f Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Fri, 14 Aug 2020 07:56:24 +0800 Subject: main.py: move login and signup to a new line. --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/main.py b/app/main.py index d55c090..ce97486 100644 --- a/app/main.py +++ b/app/main.py @@ -213,11 +213,11 @@ def mainpage(): ''' - page += '

English Pal - Learn English in a smart way!' + page += '

English Pal - Learn English in a smart way!

' if session.get('logged_in'): page += ' %s

\n' % (session['username'], session['username']) else: - page += ' 登录 成为会员 使用说明

\n' + page += '

登录 成为会员 使用说明

\n' #page += '

advertisement

' % (get_random_image(path_prefix + 'static/img/')) page += '

%s

' % (get_random_ads()) page += '

粘帖1篇文章 (English only)

' -- cgit v1.2.1