Commit 42d1be1a8d0eda22c17cddc411b443af564cccb9
1 parent
cf4cacd78f
Exists in
master
remove overlimit products, verbose
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
main.py
... | ... | @@ -714,12 +714,15 @@ def removeOverLimitProducts(): |
714 | 714 | global PRODUCTS |
715 | 715 | |
716 | 716 | if os.path.isfile('XL5.deny'): |
717 | + logger.warning('XL5.deny found, removing XL5') | |
717 | 718 | sate24.removeProduct(PRODUCTS, 'XL5') |
718 | 719 | |
719 | 720 | if os.path.isfile('XL10.deny'): |
721 | + logger.warning('XL10.deny found, removing XL10') | |
720 | 722 | sate24.removeProduct(PRODUCTS, 'XL10') |
721 | 723 | |
722 | 724 | if os.path.isfile('ALL.deny'): |
725 | + logger.warning('ALL.deny found, removing all products') | |
723 | 726 | sate24.removeProduct(PRODUCTS, 'XL5') |
724 | 727 | sate24.removeProduct(PRODUCTS, 'XL10') |
725 | 728 |