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

Updated the python script #9

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fixed, switch disconnects rpc doesn't clear
LeNooby 09 committed Oct 26, 2023
commit 5b57fae193abbf23b14711e83f2e5cdcfbd650fe
1 change: 1 addition & 0 deletions PresenceClient/PresenceClient-Py/presence-client.py
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@ def main():
break
except socket.error as e:
print(f'Error connecting to {switch_ip}:{TCP_PORT}. Retrying in 1 minute.')
rpc.clear()
time.sleep(60) #wait 1 minute before retrying
lastProgramName = ''
startTimer = 0