Don't force-process a stopped instance

parent 85b21e12
......@@ -745,7 +745,8 @@ class Slapgrid(object):
# Try to process it anyway, it may need to be deleted.
software_path = None
if software_path:
if software_path and \
computer_partition.getState() == COMPUTER_PARTITION_STARTED_STATE:
# Get periodicity from periodicity file if not forced
periodicity = self.maximum_periodicity
if not self.force_periodicity:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment