fix issue loading
This commit is contained in:
parent
4d992270d8
commit
89ac70faea
@ -182,8 +182,6 @@ def search():
|
|||||||
@app.route('/<username>')
|
@app.route('/<username>')
|
||||||
@login_required
|
@login_required
|
||||||
def u(username):
|
def u(username):
|
||||||
if len(username.split("/")) > 1:
|
|
||||||
|
|
||||||
form = EmptyForm()
|
form = EmptyForm()
|
||||||
avatarPath = "img/avatars/{}.png".format(str(random.randint(1,12)))
|
avatarPath = "img/avatars/{}.png".format(str(random.randint(1,12)))
|
||||||
user = getTwitterUserInfo(username)
|
user = getTwitterUserInfo(username)
|
||||||
|
Reference in New Issue
Block a user