mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Info log connection settings
This commit is contained in:
parent
49f2cbe04f
commit
ef9fc969d3
1 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,10 @@ class Connection:
|
|||
self.connection.close()
|
||||
time.sleep(1)
|
||||
else:
|
||||
log.info("Connected! IPv{} - {}".format(
|
||||
"6" if self.ipv6 else "4",
|
||||
self.mode.__name__
|
||||
))
|
||||
break
|
||||
else:
|
||||
raise TimeoutError
|
||||
|
|
|
|||
Loading…
Reference in a new issue