Browse Source

tletest fix: missing altitude, elevations from config should be int not str

split-config
Dashie der otter 2 years ago
parent
commit
34ac09749e
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      tletest.py

+ 3
- 3
tletest.py View File

@@ -18,10 +18,10 @@ elif len(sys.argv) == 2:
config = cfg.get(configFile)

# Config
elNOAA = config.get('QTH', 'minElev')
elMETEOR = config.get('QTH', 'minElevMeteor')
elNOAA = config.getint('QTH', 'minElev')
elMETEOR = config.getint('QTH', 'minElevMeteor')
tleFileName = os.path.join(config.get('DIRS', 'tle'), config.get('DIRS', 'tleFile'))
qth = (config.getfloat('QTH', 'lat'), config.getfloat('QTH', 'lon'))
qth = (config.getfloat('QTH', 'lat'), config.getfloat('QTH', 'lon'), config.getint('QTH', 'alt'))

# The rest
NOAA15 = []

Loading…
Cancel
Save