Commit 9f1521e8 by Karsa Zoltán István

clean

parent b538c179
...@@ -20,7 +20,6 @@ def proxy_datacenters( ...@@ -20,7 +20,6 @@ def proxy_datacenters(
else: else:
server = balancer_fun() server = balancer_fun()
token = get_datacenter_token(username, server) token = get_datacenter_token(username, server)
print(token)
url = f"{server}/{serverpath}" url = f"{server}/{serverpath}"
t_resp = requests.request( t_resp = requests.request(
json=body, json=body,
......
...@@ -38,7 +38,6 @@ def wr_get(centers: DataCenterSchema): ...@@ -38,7 +38,6 @@ def wr_get(centers: DataCenterSchema):
def set_token(username: str, datacenter: str, token: str): def set_token(username: str, datacenter: str, token: str):
print(f"tokens:{username}" + datacenter)
r.hset(f"tokens:{username}", datacenter, token) r.hset(f"tokens:{username}", datacenter, token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment