diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 23:13:02 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 23:13:02 +0200 |
| commit | 1f4725de6a902bed530663b71be3ec897e8c7b91 (patch) | |
| tree | 34ed23d32190673d8c0688ea16ea36e8961cee4f /quiz.py | |
| parent | 0fe22d25beaa91aeb714934506e175e5e35b7315 (diff) | |
| download | quiz-1f4725de6a902bed530663b71be3ec897e8c7b91.tar.gz quiz-1f4725de6a902bed530663b71be3ec897e8c7b91.zip | |
fix windows exception condition
Diffstat (limited to 'quiz.py')
| -rwxr-xr-x | quiz.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ def load_solutions(question_dirs: list[Path], def show_question(question: Path): """show the question in an external programm and return the process""" - if platform.system() != 'Windows': + if platform.system() == 'Windows': os.startfile(question) # type: ignore # pylint: disable=no-member return |
