diff --git a/plugins/utilities.json b/plugins/utilities.json index 3048d1c..c305391 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -822,6 +822,12 @@ } ], "versions": { + "1.4.0": { + "api_version": 8, + "commit_sha": "6947777", + "released_on": "03-08-2023", + "md5sum": "1b8a85ed902e0cc7e6cebad63c984544" + }, "1.3.0": { "api_version": 8, "commit_sha": "7c8953c", diff --git a/plugins/utilities/discord_richpresence.py b/plugins/utilities/discord_richpresence.py index 85d5c0d..5f3d378 100644 --- a/plugins/utilities/discord_richpresence.py +++ b/plugins/utilities/discord_richpresence.py @@ -45,7 +45,7 @@ if ANDROID: # !can add ios in future path = Path(f"{install_path}/websocket.tar.gz") file_path = Path(f"{install_path}/websocket") source_dir = Path(f"{install_path}/websocket-client-1.6.1/websocket") - if not f"{file_path}/__init__.py".exists(): + if not Path(f"{file_path}/__init__.py").exists(): # YouKnowDev url = "https://files.pythonhosted.org/packages/b1/34/3a5cae1e07d9566ad073fa6d169bf22c03a3ba7b31b3c3422ec88d039108/websocket-client-1.6.1.tar.gz" try: # fix issue where the file delete themselves