Commit d283cc10d51f78c1e9b8bee72743e9029a9222ff

Authored by Adhidarma Hadiwinoto
1 parent ae722980a5
Exists in master

bf

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

... ... @@ -35,11 +35,13 @@ SLEEP_BETWEEN_BALANCE_N_TOPUP = config.getint('globals', 'SLEEP_BETWEEN_BALANCE_
35 35 TOPUP_USSD_TIMEOUT = config.getint('globals', 'TOPUP_USSD_TIMEOUT')
36 36 SLEEP_AFTER_USSD_ERROR = 180
37 37  
38   -MIN_SIGNAL_STRENGTH = 13
  38 +MIN_SIGNAL_STRENGTH = 0
39 39 try:
40 40 MIN_SIGNAL_STRENGTH = config.getint('globals', 'MIN_SIGNAL_STRENGTH')
41 41 except:
42 42 pass
  43 +if not MIN_SIGNAL_STRENGTH:
  44 + MIN_SIGNAL_STRENGTH = 13
43 45  
44 46 MIN_BALANCE = config.getint('globals', 'MIN_BALANCE')
45 47