From c1504508ad9b5f78cbafadbf34bdf47477467c6b Mon Sep 17 00:00:00 2001 From: Nicky Gerritsen Date: Sun, 1 Sep 2024 19:48:45 +0200 Subject: [PATCH] Replace the now non-open source PySimpleGUI with FreeSimpleGUI --- domlogo/domlogo.py | 2 +- provision-contest/ansible/roles/domlogo/files/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/domlogo/domlogo.py b/domlogo/domlogo.py index 636ceb58..4272537d 100755 --- a/domlogo/domlogo.py +++ b/domlogo/domlogo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import subprocess -import PySimpleGUI as sg +import FreeSimpleGUI as sg import glob import os import requests diff --git a/provision-contest/ansible/roles/domlogo/files/README.md b/provision-contest/ansible/roles/domlogo/files/README.md index e5db0142..2d1d2ac3 100644 --- a/provision-contest/ansible/roles/domlogo/files/README.md +++ b/provision-contest/ansible/roles/domlogo/files/README.md @@ -6,7 +6,7 @@ First, create the following files: - `images/photos/idle.png`, an image with a width of 1024 (and any height) to show when the judgedaemon is idle. Next, add the needed Python dependencies to the `lib` folder, within a folder called `python3.10`. You can copy this -folder from a local machine and it should contain the `PySimpleGUI` and `requests` Python packages. +folder from a local machine and it should contain the `FreeSimpleGUI` and `requests` Python packages. Optionally you can create a file `images/config.yaml` with something like: