X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7e94237a4e4ee40e1dff230d1760dcaaba3d90e8..64b5a4111134ff98a5cb22e481508a2045ec9cd3:/mytest.py diff --git a/mytest.py b/mytest.py index 014f94c9..8f23beac 100644 --- a/mytest.py +++ b/mytest.py @@ -277,7 +277,7 @@ class Session: def open(self, screen, *arguments, **kwargs): if len(self.dialog_stack) and not self.in_exec: - raise "modal open are allowed only from a screen which is modal!" + raise RuntimeError("modal open are allowed only from a screen which is modal!") # ...unless it's the very first screen. self.pushCurrent()