Commit 724c1428a0bbf3d647ceda2b6584ef1757c108b2

Authored by Adhidarma Hadiwinoto
1 parent d283cc10d5
Exists in master

bf

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -472,7 +472,7 @@ def pull(modem):
472 472  
473 473 signalStrength = modem.signalStrength
474 474 if signalStrength < MIN_SIGNAL_STRENGTH:
475   - logger.warn('Signal strength {0} < {1}, skipping pull'.format(signalStrength, MIN_SIGNAL_STRENGTH))
  475 + #logger.warn('Signal strength {0} < {1}, skipping pull'.format(signalStrength, MIN_SIGNAL_STRENGTH))
476 476 return
477 477  
478 478 pull_per_minute = 60 / PULL_INTERVAL
... ... @@ -544,6 +544,8 @@ def pullLoop(modem):
544 544 logger.info('Terminated by request signal')
545 545 sys.exit(0)
546 546  
  547 + pull(modem)
  548 +
547 549 sleep(PULL_INTERVAL)
548 550  
549 551 def checkSignal(modem):