Commit 8a97757d6c9f5ed381f2ad13bf89526628ebc993
1 parent
b2c88f911e
Exists in
master
fix missing parentheized
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
main.py
... | ... | @@ -654,7 +654,7 @@ def checkBalance(modem, do_not_update = False, return_result = False): |
654 | 654 | logger.info('Disabling pull, balance {0} < {1}'.format(_BALANCE, MIN_BALANCE)) |
655 | 655 | disablePull() |
656 | 656 | |
657 | - elif not isPullEnable: | |
657 | + elif not isPullEnable(): | |
658 | 658 | |
659 | 659 | logger.info('Enabling pull, balance {0} > {1}'.format(_BALANCE, MIN_BALANCE)) |
660 | 660 | enablePull() |