From 6d50cc174477420cd43298b162fa9266e07749c5 Mon Sep 17 00:00:00 2001 From: oldnapalm <38410858+oldnapalm@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:16:31 -0300 Subject: [PATCH] Update zwift_offline.py --- zwift_offline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zwift_offline.py b/zwift_offline.py index 6ad2c94c..ea08940c 100644 --- a/zwift_offline.py +++ b/zwift_offline.py @@ -84,7 +84,7 @@ SSL_DIR = "%s/ssl" % SCRIPT_DIR DATABASE_PATH = "%s/zwift-offline.db" % STORAGE_DIR DATABASE_CUR_VER = 3 -ZWIFT_VER_CUR = ET.parse('cdn/gameassets/Zwift_Updates_Root/Zwift_ver_cur.xml').getroot().get('sversion') +ZWIFT_VER_CUR = ET.parse('%s/cdn/gameassets/Zwift_Updates_Root/Zwift_ver_cur.xml' % SCRIPT_DIR).getroot().get('sversion') # For auth server AUTOLAUNCH_FILE = "%s/auto_launch.txt" % STORAGE_DIR