add verbose to config loading
This commit is contained in:
parent
596f5cfb40
commit
62edc1fb27
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ with open(sys.argv[1], 'r') as file:
|
||||||
try: displayname = data["name"]
|
try: displayname = data["name"]
|
||||||
except: print("using fallback display name")
|
except: print("using fallback display name")
|
||||||
file.close()
|
file.close()
|
||||||
|
print("Successfully loaded config!")
|
||||||
ip = get('https://api.ipify.org').content.decode('utf8')
|
ip = get('https://api.ipify.org').content.decode('utf8')
|
||||||
tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
tcp_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
tcp_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||||
|
|
Loading…
Reference in a new issue