1
0
Fork 0
mirror of synced 2024-06-28 11:11:15 +12:00
This commit is contained in:
Dummerle 2021-04-15 23:02:48 +02:00
parent 14bd150e5f
commit 3ae41cab91

View file

@ -60,6 +60,10 @@ class DiscordRPC(QObject):
logger.warning("Discord is not active\n" + str(e))
self.RPC = None
return
except FileNotFoundError as e:
logger.warning("File not found error\n" + str(e))
self.RPC = None
return
self.update_rpc(app_name)
def update_rpc(self, app_name=None):