From 21c5d94a3d0d89f8d0aaa0fe55647110fdadf1a3 Mon Sep 17 00:00:00 2001 From: Jonas Leder <jonas@jonasled.de> Date: Tue, 22 Mar 2022 12:56:36 +0100 Subject: [PATCH] apply styling guidelines --- app/main.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/main.py b/app/main.py index 1f6e16e..68eefa3 100644 --- a/app/main.py +++ b/app/main.py @@ -1,17 +1,15 @@ #!/usr/bin/env python3 #Import of Libraries -from numpy import imag -from waitress import serve #Used as webserver (Production) -from flask import Flask, request, redirect, make_response, abort, Response #Used to prepare the dynamic pages from os import environ #Used for getting the enviorement variables -from itsdangerous import URLSafeSerializer #used for signing the cookies from random import choice#used for signing the cookies from string import ascii_lowercase #used for signing the cookies +from flask import Flask, request, redirect, make_response, abort, Response #Used to prepare the dynamic pages +from waitress import serve #Used as webserver (Production) +from itsdangerous import URLSafeSerializer #used for signing the cookies #Import of shorter specific files from table_check import table_check #import the table check file from makeqr import make_qr #Qr code generation tool -from grecaptcha_verify import grecaptcha_verify #Tool to verify the google recaptcha response from newurl import newurl #Script to add the new urls to the database from redirectShortenURL import redirect_shorten_url #Script to redirect the user to the long site from login import login #thandles the login -- GitLab