From d72a90306b48a8e46a134a60d53dd46edbcade26 Mon Sep 17 00:00:00 2001 From: Mark Bumiller Date: Sun, 26 Feb 2023 11:36:11 -0500 Subject: [PATCH] removing unused image and code --- __main__.py | 6 +++++- modify_image.py | 5 ----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/__main__.py b/__main__.py index 1040251..b3ee4b7 100644 --- a/__main__.py +++ b/__main__.py @@ -25,7 +25,11 @@ sys.path.extend([os.getcwd()]) #Dependency Handling if not os.path.isdir("./dependencies/"): os.mkdir("./dependencies/") -required_files = [("Roboto-Regular.ttf", 'https://github.com/googlefonts/roboto/blob/main/src/hinted/Roboto-Regular.ttf?raw=true'), ('airports.csv', 'https://ourairports.com/data/airports.csv'), ('regions.csv', 'https://ourairports.com/data/regions.csv'), ('ADSBX_Logo.png', "https://www.adsbexchange.com/wp-content/uploads/cropped-Stealth.png"), ('Mictronics_db.zip', "https://www.mictronics.de/aircraft-database/indexedDB.php")] +required_files = [ + ("Roboto-Regular.ttf", 'https://github.com/googlefonts/roboto/blob/main/src/hinted/Roboto-Regular.ttf?raw=true'), + ('airports.csv', 'https://ourairports.com/data/airports.csv'), + ('regions.csv', 'https://ourairports.com/data/regions.csv'), + ('Mictronics_db.zip', "https://www.mictronics.de/aircraft-database/indexedDB.php")] for file in required_files: file_name = file[0] url = file[1] diff --git a/modify_image.py b/modify_image.py index 1690193..2725b41 100644 --- a/modify_image.py +++ b/modify_image.py @@ -26,11 +26,6 @@ def append_airport(filename, airport, text_credit=None): draw.rectangle(((325, 760), (624, 800)), fill= white, outline=black) #Header Box draw.rectangle(((401, 738), (549, 760)), fill= navish) - #ADSBX Logo - # - # adsbx = Image.open("./dependencies/ADSBX_Logo.png") - # adsbx = adsbx.resize((25, 25), Image.ANTIALIAS) - # image.paste(adsbx, (632, 757), adsbx) #Create Text #ADSBX Credit if text_credit is not None: