fix issue loading

This commit is contained in:
pluja 2020-09-26 20:10:42 +02:00
parent 4d992270d8
commit 89ac70faea

View File

@ -182,8 +182,6 @@ def search():
@app.route('/<username>')
@login_required
def u(username):
if len(username.split("/")) > 1:
form = EmptyForm()
avatarPath = "img/avatars/{}.png".format(str(random.randint(1,12)))
user = getTwitterUserInfo(username)