Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix print for discord rpc threads #1234

Merged
merged 2 commits into from
Jan 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions PC_Miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,8 @@ def connect():
RPC.connect()
Thread(target=Discord_rp.update).start()
except Exception as e:
#print("Error launching Discord RPC thread: " + str(e))
pass
pretty_print(get_string("Error launching Discord RPC thread: " + str(e)))


def update():
while True:
Expand All @@ -825,8 +825,7 @@ def update():
{"label": "Join the Discord",
"url": "https://discord.gg/k48Ht5y"}])
except Exception as e:
#print("Error updating Discord RPC thread: " + str(e))
pass
pretty_print(get_string("Error updating Discord RPC thread: " + str(e)))
sleep(15)


Expand Down