#!/usr/bin/python3

from time import gmtime, strftime
from flask import Flask
 
app = Flask(__name__)
 
@app.route("/")
def hello():
    return "Hello world!"
 
f = open("/var/www/html/extractor/webtool.log", "a")
f.write("webtool.py at " + strftime("%Y-%m-%d %H:%M:%S", gmtime())+"\n")
f.close()
#app.run(debug=False)

#if __name__ == "__main__":
#    app.run()
    #app.run(host='0.0.0.0')
