forked from moepman/bk-dss
dss.py: reorder imports statements
Increases readability. Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
a2da0092c6
commit
d2f1b94964
12
dss.py
12
dss.py
@ -1,15 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import ldap
|
||||||
|
import ldap.modlist
|
||||||
|
import uuid
|
||||||
|
|
||||||
from flask import Flask, render_template, redirect, url_for, session
|
from flask import Flask, render_template, redirect, url_for, session
|
||||||
from flask_wtf import Form
|
from flask_wtf import Form
|
||||||
import ldap
|
|
||||||
import ldap.modlist
|
|
||||||
from passlib.hash import ldap_salted_sha1
|
|
||||||
from redis import Redis
|
|
||||||
import uuid
|
|
||||||
from wtforms.fields import IntegerField, PasswordField, SelectField, StringField, SubmitField
|
from wtforms.fields import IntegerField, PasswordField, SelectField, StringField, SubmitField
|
||||||
from wtforms.validators import EqualTo, Required
|
from wtforms.validators import EqualTo, Required
|
||||||
|
|
||||||
|
from passlib.hash import ldap_salted_sha1
|
||||||
|
from redis import Redis
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config.from_pyfile('config.cfg')
|
app.config.from_pyfile('config.cfg')
|
||||||
app.jinja_env.trim_blocks = True
|
app.jinja_env.trim_blocks = True
|
||||||
|
Loading…
Reference in New Issue
Block a user