From 70cffcf6fa1261e34832b35bcb8ba5b5fdb126d7 Mon Sep 17 00:00:00 2001 From: TheDevFreak <24739570+TheDevFreak@users.noreply.github.com> Date: Sat, 27 Jan 2018 19:28:02 +0000 Subject: [PATCH] This makes pip install googlerpc / sudo python setup.py install work on linux I was thinking, what if I just dump it in a try except? As it turns out it works... --- googlerpc/index.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/googlerpc/index.py b/googlerpc/index.py index 2c9ec00..41b90f1 100644 --- a/googlerpc/index.py +++ b/googlerpc/index.py @@ -22,7 +22,10 @@ exit() rpc = rpc.DiscordRPC('397050772807745536', verbose=False) -rpc.start() +try: + rpc.start() +except: + pass def getplaying():