whoops
This commit is contained in:
parent
583aca1960
commit
bd74985f8f
|
@ -12,7 +12,6 @@ PORT = SERVICE_PORT
|
||||||
SERVICE_KEY = os.urandom(32)
|
SERVICE_KEY = os.urandom(32)
|
||||||
|
|
||||||
def process_message(message):
|
def process_message(message):
|
||||||
print(message)
|
|
||||||
message = message.split("||")
|
message = message.split("||")
|
||||||
if message[0] == "getkey":
|
if message[0] == "getkey":
|
||||||
return f"{base64.b64encode(SERVICE_KEY)}"
|
return f"{base64.b64encode(SERVICE_KEY)}"
|
||||||
|
|
|
@ -11,7 +11,6 @@ PORT = TGS_PORT
|
||||||
TGS_KEY = os.urandom(32)
|
TGS_KEY = os.urandom(32)
|
||||||
|
|
||||||
def process_message(message):
|
def process_message(message):
|
||||||
print(message)
|
|
||||||
message = message.split("||")
|
message = message.split("||")
|
||||||
|
|
||||||
if message[0] == "getkey":
|
if message[0] == "getkey":
|
||||||
|
|
Loading…
Reference in New Issue