Fixing a bug

This commit is contained in:
Vishal 2025-01-25 20:50:52 +05:30 committed by GitHub
parent a126662472
commit 2e12401de5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -102,6 +102,7 @@
}
],
"versions": {
"2.0.2": null,
"2.0.1": {
"api_version": 9,
"commit_sha": "506451f",

View file

@ -10,13 +10,13 @@ k = bs.connect_to_party
def j(address, port=43210, print_progress=False):
try:
if bs.get_connection_to_host_info() is not None:
if bool(bs.get_connection_to_host_info_2()):
bs.disconnect_from_host()
m.i = address
m.p = port
k(m.i, m.p, print_progress)
except:
pass
m.i = address
m.p = port
k(m.i, m.p, print_progress)
def R(s):