Fix wrong file name

This commit is contained in:
Jack Sweeney 2020-11-21 03:51:50 +00:00 committed by GitHub
parent 9283904a63
commit 52601d7889
1 changed files with 1 additions and 1 deletions

View File

@ -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