From 5b327628a1cb31d6c1e1f62246c19ceee76e309c Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Sun, 24 Apr 2016 21:56:25 +0200
Subject: [PATCH] [experiments] Fix typo in models

---
 beat/web/experiments/models.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/beat/web/experiments/models.py b/beat/web/experiments/models.py
index 80803b021..ba2e1bdb2 100644
--- a/beat/web/experiments/models.py
+++ b/beat/web/experiments/models.py
@@ -751,7 +751,8 @@ class Experiment(Shareable):
 
         elif (Block.PROCESSING in block_statuses) or \
             ((Block.NOT_CACHED in block_statuses or \
-            Block.SKIPPED in block_states) and Block.CACHED in block_statuses):
+            Block.SKIPPED in block_statuses) and \
+            Block.CACHED in block_statuses):
             self.status = Experiment.RUNNING
 
         elif Block.NOT_CACHED not in block_statuses:
-- 
GitLab