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