diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-19 18:07:53 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-19 18:07:53 +0200 |
| commit | dc8f4ffd41fa854d18bec424dfffa379156e9b34 (patch) | |
| tree | 41c8860ff75c105a3457ee842217cee30bdcbb02 | |
| parent | bf4a8ab2d9350000d93d3df80b62c9bb94c70921 (diff) | |
| download | quiz-dc8f4ffd41fa854d18bec424dfffa379156e9b34.tar.gz quiz-dc8f4ffd41fa854d18bec424dfffa379156e9b34.zip | |
set default window location to 0, -200
| -rwxr-xr-x | quiz.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ CORRECT_SOUND = Path(__file__).parent / 'Correct.mp3' SHOW_QUESTION_CMD = 'xdg-open' +sg.SetOptions(window_location=(0, -200)) + def err(msg: str, status=1): """Print the error message to stderr and exit with status""" |
