fix indentation issue

This commit is contained in:
KF7EEL 2020-12-24 11:39:16 -08:00
parent 88a791ee7b
commit 16a1d81757
1 changed files with 7 additions and 7 deletions

View File

@ -148,13 +148,13 @@ def sendAprs():
def aprs_upload():
if CONFIG['APRS']['ENABLED']:
if int(CONFIG['APRS']['REPORT_INTERVAL']) >= 10:
l=task.LoopingCall(sendAprs)
l.start(int(CONFIG['APRS']['REPORT_INTERVAL'])*60)
else:
l=task.LoopingCall(sendAprs)
l.start(15*60)
logger.info('Report Time APRS to short')
if int(CONFIG['APRS']['REPORT_INTERVAL']) >= 10:
l=task.LoopingCall(sendAprs)
l.start(int(CONFIG['APRS']['REPORT_INTERVAL'])*60)
else:
l=task.LoopingCall(sendAprs)
l.start(15*60)
logger.info('Report Time APRS to short')
# Timed loop used for reporting HBP status