From 2c3271648680b634d13035df2bfac2f163559478 Mon Sep 17 00:00:00 2001 From: Socks Date: Thu, 26 Apr 2018 01:07:46 +0100 Subject: [PATCH] Removed unused lines --- Tweeder.py | 1 - backend/timeline.py | 1 - 2 files changed, 2 deletions(-) diff --git a/Tweeder.py b/Tweeder.py index 3bbba91..f3f34db 100644 --- a/Tweeder.py +++ b/Tweeder.py @@ -135,7 +135,6 @@ def user_settings(): logged_in=logged_in, account=account, theme=accounts.get_theme(session['username'].lower())) - return redirect(url_for('login')) elif request.method == "POST": print(request.files) print(request.form) diff --git a/backend/timeline.py b/backend/timeline.py index b062cd3..8f16d2f 100644 --- a/backend/timeline.py +++ b/backend/timeline.py @@ -34,7 +34,6 @@ def post_status(username, content, private=False, replyTo=False, location=False) 'location': False or location, 'private': False or private, 'edited': False - } timeline_db.insert_one(status)