parent
d7a812a672
commit
073e8f9feb
|
@ -120,13 +120,13 @@ screen -R <name screen whatever you want>
|
|||
### Start Program
|
||||
|
||||
```bash
|
||||
python3 NotifyBotMulti.py
|
||||
python3 plane-notify
|
||||
```
|
||||
|
||||
### TODO
|
||||
|
||||
- General Cleanup
|
||||
- Restructure project to make it proper currently random files because I didn't know how to properly structure a project before.
|
||||
- Restructure project to make it proper currently random files because I didn't know how to properly structure a project before. (in progress)
|
||||
- Add requirments.txt file from pip freeze to create easy dependencies install
|
||||
- On data loss/gain calculate AGL ft above nearest airport and use that altitude instead of just using baro/geo alt from ADS-B which is MSL.
|
||||
|
||||
|
|
|
@ -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]
|
Loading…
Reference in New Issue