diff --git a/dzgui/init/dayz.py b/dzgui/init/dayz.py index 1552ecb..1816693 100644 --- a/dzgui/init/dayz.py +++ b/dzgui/init/dayz.py @@ -18,5 +18,5 @@ def is_dayz_installed(config: Path) -> None: PeFile.get_app_path(Path(path) / LIBRARYFOLDERS_PATH, APPID_DAYZ) except Exception as e: logger.critical(e) - EarlyAlertDialog(e) + EarlyAlertDialog(str(e)) sys.exit(1) diff --git a/dzgui/init/update.py b/dzgui/init/update.py index f8c6c34..889b557 100644 --- a/dzgui/init/update.py +++ b/dzgui/init/update.py @@ -15,7 +15,7 @@ logger = logging.getLogger(__name__) def get_latest_release() -> str | None: tag = None # TODO: check order; github often has gateway errors - for url in [CODEBERG_RELEASES, GITHUB_RELEASES]: + for url in [GITHUB_RELEASES, CODEBERG_RELEASES]: try: res = requests.get(url, timeout=REQUEST_TIMEOUT) if res.status_code == 200: