mirror of
https://github.com/aclist/dztui.git
synced 2026-08-27 10:17:31 +02:00
Merge branch 'feat/server-threading' of github.com:aclist/dzgui-devel into feat/server-threading
This commit is contained in:
commit
2788abb755
@ -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)
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user