From dd48815f3072d24afeb0723beeeb74fff8ed498a Mon Sep 17 00:00:00 2001 From: blitzmann Date: Fri, 3 Jul 2015 13:58:32 -0400 Subject: [PATCH] Offline rigs, closes #100 --- service/fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/fit.py b/service/fit.py index 5360a376a..32820f6b7 100644 --- a/service/fit.py +++ b/service/fit.py @@ -893,7 +893,7 @@ class Fit(object): State.ONLINE: State.ACTIVE} # Just in case def __getProposedState(self, mod, click, proposedState=None): - if mod.slot in (Slot.RIG, Slot.SUBSYSTEM) or mod.isEmpty: + if mod.slot is Slot.SUBSYSTEM or mod.isEmpty: return State.ONLINE currState = mod.state