-Remove white space
-Unused color
This commit is contained in:
Jack Sweeney 2020-11-21 16:40:54 +00:00 committed by GitHub
parent 43f9d51b5f
commit 4a771a8bbc
1 changed files with 2 additions and 2 deletions

View File

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