Ejemplo n.º 1
0
 def post(self):
     createMap()
     return render_template('map.html')
Ejemplo n.º 2
0
 def get(self):
     import os.path
     if not os.path.isfile("static/img/map.png"):
         createMap()
     return render_template('map.html')