Slightly improved pause command messages.

This commit is contained in:
Andrew Hamilton 2016-01-27 22:39:35 +00:00
parent 8474203c32
commit 8cb4d08d46

4
vigil
View file

@ -696,8 +696,8 @@ class Screen:
def toggle_pause(self):
self._is_paused = not self._is_paused
self._log.log_command("Paused work." if self._is_paused else
"Continuing work...")
self._log.log_command("Paused workers." if self._is_paused else
"Running workers...")
if self._is_paused:
for runner in self.runners:
runner.pause()