mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-07 09:16:56 -06:00
fixed routes.py
This commit is contained in:
@@ -43,8 +43,7 @@ def user_info():
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
if current_user.is_authenticated:
|
||||
content = [{'text': fake.paragraph(nb_sentences=15),
|
||||
content = [{'text': fake.paragraph(nb_sentences=15),
|
||||
'seed': random.randint(0, 1000),
|
||||
'title': fake.word().title()}
|
||||
for _ in range(10)]
|
||||
@@ -193,4 +192,4 @@ def build_data(tags, page, count, base64, showfull):
|
||||
temp['base64'] = base64ify(temp['real_url'])
|
||||
|
||||
build.append(temp)
|
||||
return build
|
||||
return build
|
||||
|
||||
Reference in New Issue
Block a user