Minor bug fix checking the last action
@@ -151,7 +151,7 @@ class PreferencesBridge(PioBridge):
"""
from .tools import get_sysetting
last_action = get_sysetting('last_action', None)
- last_action = int(last_action) if last_action else None
+ last_action = int(last_action) if(last_action != None) else None
if(last_action == self.COMPILE):
from ..platformio.compile import Compile
