updated map with chairs, so we can sit comfortably. Also reduced size

This commit is contained in:
2018-11-10 21:57:40 +01:00
parent f8301552c4
commit 2813481da4
3 changed files with 1 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 688 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 70 KiB

+1 -1
View File
@@ -124,7 +124,7 @@ def query(filter_dummy, query):
@app.route('/parts/map/<mapurl>') @app.route('/parts/map/<mapurl>')
def getMap(mapurl): def getMap(mapurl):
try: try:
mapimage = Image.open('maps/' + mapurl) mapimage = Image.open('maps/' + mapurl).convert("RGBA")
except FileNotFoundError: except FileNotFoundError:
return serveImage(Image.open("maps/404.png")) return serveImage(Image.open("maps/404.png"))
if request.args.get('x') is not None and request.args.get('y') is not None: if request.args.get('x') is not None and request.args.get('y') is not None: