From 92db5a7931f5735b536079475d76d72be65d3516 Mon Sep 17 00:00:00 2001 From: Jack Sweeney Date: Sat, 21 Nov 2020 16:40:54 +0000 Subject: [PATCH] Cleanup -Remove white space -Unused color --- AppendAirport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppendAirport.py b/AppendAirport.py index 444a18a..00d37f9 100644 --- a/AppendAirport.py +++ b/AppendAirport.py @@ -7,9 +7,9 @@ def download_font(): import requests url = 'https://github.com/google/fonts/raw/master/apache/roboto/static/Roboto-Regular.ttf' font = requests.get(url) - + open(fontfile, 'wb').write(font.content) - except: + except: raise("Error getting font or storing") else: print("Successfully got font", fontfile)