diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-02-05 19:07:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-02-05 19:07:37 -0300 |
commit | 2f775f73a509aa4b66f470466d697bf475a31534 (patch) | |
tree | aef175a91cb4f2c07b13e2f62cb68152f7b4c49a | |
parent | d6d698227b4c1ba1004d371ab5fb35ec8024b5da (diff) | |
download | tkinter-2f775f73a509aa4b66f470466d697bf475a31534.tar.gz tkinter-2f775f73a509aa4b66f470466d697bf475a31534.tar.bz2 tkinter-2f775f73a509aa4b66f470466d697bf475a31534.tar.xz tkinter-2f775f73a509aa4b66f470466d697bf475a31534.zip |
Fix discordrpc upstream bug (DiscordUnix)
-rw-r--r-- | discordrpc/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discordrpc/presence.py b/discordrpc/presence.py index 858d847..d2be8c8 100644 --- a/discordrpc/presence.py +++ b/discordrpc/presence.py @@ -231,7 +231,7 @@ class DiscordUnix(RPC): raise DiscordNotOpened - def _get_pipe_path(): + def _get_pipe_path(self): env_keys = ('XDG_RUNTIME_DIR', 'TMPDIR', 'TMP', 'TEMP') for env_key in env_keys: dir_path = os.environ.get(env_key) |