Skip to content

Commit

Permalink
Fixed Discord RPC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dummerle committed Apr 13, 2021
1 parent 0acc9c5 commit 113efd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rare/utils/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def set_discord_rpc(self, app_name=None):
self.RPC.connect()
except ConnectionRefusedError as e:
logger.warning("Discord is not active\n" + str(e))
self.RPC = None
return
self.update_rpc(app_name)

Expand Down

0 comments on commit 113efd1

Please sign in to comment.