diff --git a/gooey/gui/processor.py b/gooey/gui/processor.py index 8e4fad5..c7bc756 100644 --- a/gooey/gui/processor.py +++ b/gooey/gui/processor.py @@ -30,7 +30,7 @@ class ProcessController(object): def poll(self): if not self._process: raise Exception('Not started!') - self._process.poll() + return self._process.poll() def stop(self): if self.running():