Browse Source

Fix wrong file name

pull/2/head
Jack Sweeney 4 years ago committed by GitHub
parent
commit
91ce337d44
  1. 2
      defMap.py

2
defMap.py

@ -15,7 +15,7 @@ def getMap(mapLocation, icao):
# wb mode is stand for write binary mode
file_name = icao + "_map.png"
f = open('map.png', 'wb')
f = open(file_name, 'wb')
# r.content gives content,
# in this case gives image

Loading…
Cancel
Save