diff --git a/umalauncher/gui.py b/umalauncher/gui.py index 1ce4365..830f960 100644 --- a/umalauncher/gui.py +++ b/umalauncher/gui.py @@ -1401,7 +1401,7 @@ def do_error_request(url, json): if util.is_script: version_str += ".script" version_str += " (" + util.get_game_variant_string() + ")" - thread = threading.Thread(target=do_error_request, args = ( "https://umalauncher.uc.r.appspot.com/api/v1/umalauncher/error", {"traceback": traceback_str, "user_id": user_id, "version": version_str} ) ) + thread = threading.Thread(target=do_error_request, args = ( "https://umalauncher.uc.r.appspot.com/api/v2/umalauncher/error", {"traceback": traceback_str, "user_id": user_id, "version": version_str} ) ) thread.start() diff --git a/umalauncher/horsium.py b/umalauncher/horsium.py index d33d047..9ae145e 100644 --- a/umalauncher/horsium.py +++ b/umalauncher/horsium.py @@ -285,7 +285,7 @@ def wrapper(self, *args, **kwargs): return wrapper def get_browser_pid(self): - if 'moz:processID' in self.driver.capabilities: + if self.driver is not None and 'moz:processID' in self.driver.capabilities: return self.driver.capabilities['moz:processID'] else: browsers = ['chrome.exe', 'msedge.exe', 'chromium.exe']