Correction de bugs
This commit is contained in:
10
pywallter.py
10
pywallter.py
@@ -30,11 +30,6 @@ if init_dir():
|
||||
print ("Le repertoire des utilisateurs a été créer")
|
||||
|
||||
|
||||
|
||||
# Set the secret key. Keep this really secret
|
||||
#app.secret_key = 'klfkdlfkdslfkln234325;cx!' # Chiffre les cookies si j'ai bien capté.
|
||||
# À générer aléatoirement impérativement avant de mettre en ligne.
|
||||
|
||||
#### Variables ####################################################################################
|
||||
|
||||
|
||||
@@ -81,9 +76,8 @@ def create_app():
|
||||
app.register_blueprint(logs)
|
||||
app.register_blueprint(loginlogout)
|
||||
app.register_blueprint(mygallery)
|
||||
|
||||
|
||||
return app
|
||||
|
||||
if __name__ == '__main__' :
|
||||
hostname=gethostname()
|
||||
app.run(host='127.0.0.1', port=8080, debug=False)
|
||||
app.run(host='127.0.0.1', port=8000, debug=False)
|
||||
|
||||
Reference in New Issue
Block a user