diff --git a/.gitignore b/.gitignore index 00b1ac3..9bc880f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +/xeviondevenv/* +xevion.dev.ini +*.old +*.pem +*.pyc key /app.db /key @@ -5,4 +10,4 @@ key /migrations/* /venv/* /app/__pycache__/* -/__pycache__/* \ No newline at end of file +/__pycache__/* diff --git a/app/routes.py b/app/routes.py index 3632518..05be6f2 100644 --- a/app/routes.py +++ b/app/routes.py @@ -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 \ No newline at end of file + return build