From de22b6353228544cac62c64d56ccd51d4ce3dc56 Mon Sep 17 00:00:00 2001 From: Jack Sweeney Date: Fri, 11 Dec 2020 17:34:22 +0000 Subject: [PATCH] Spacing? --- AppendAirport.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AppendAirport.py b/AppendAirport.py index 8f9fa71..df03e4b 100644 --- a/AppendAirport.py +++ b/AppendAirport.py @@ -21,12 +21,9 @@ def append_airport(filename, icao, airport, distance_mi): distance_km = distance_mi * 1.609 # create Image object with the input image - image = Image.open(filename) - # initialise the drawing context with # the image object as background - draw = ImageDraw.Draw(image) #Setup fonts @@ -61,6 +58,5 @@ def append_airport(filename, icao, airport, distance_mi): (x, y) = (320, 783) text = airport[0:56] draw.text((x, y), text, fill=black, font=mini_font) - # save the edited image image.save(filename) \ No newline at end of file