From 8e8521528b22a03f5abcc5704af9663188bfc3e6 Mon Sep 17 00:00:00 2001 From: brostos <67740566+brostosjoined@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:11:13 +0300 Subject: [PATCH] Update discord_richpresence.py --- plugins/utilities/discord_richpresence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/discord_richpresence.py b/plugins/utilities/discord_richpresence.py index 85d5c0d..c24b51e 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