|
|
|
@ -10,6 +10,10 @@ from planeClass import Plane
|
|
|
|
|
from datetime import datetime |
|
|
|
|
import pytz |
|
|
|
|
import os |
|
|
|
|
if 'plane-notify' not in os.getcwd(): |
|
|
|
|
os.chdir('./plane-notify') |
|
|
|
|
import sys |
|
|
|
|
sys.path.extend([os.getcwd()]) |
|
|
|
|
required_files = [("Roboto-Regular.ttf", 'https://github.com/google/fonts/raw/master/apache/roboto/static/Roboto-Regular.ttf'), ('airports.csv', 'https://ourairports.com/data/airports.csv'), ('regions.csv', 'https://ourairports.com/data/regions.csv')] |
|
|
|
|
for file in required_files: |
|
|
|
|
file_name = file[0] |