fix
This commit is contained in:
parent
edb8d352d4
commit
408fec350b
2
model.py
2
model.py
@ -51,7 +51,7 @@ class Model:
|
||||
clientname = base64.b32encode(bytearray(random.randint(0, 0xFF) for _ in range(10)))[:16].decode().lower()
|
||||
newclient = {"id": clientname}
|
||||
self.model["clients"].append(newclient)
|
||||
return sessionname
|
||||
return clientname
|
||||
|
||||
def create_session(self) -> str:
|
||||
sessionname = base64.b32encode(bytearray(random.randint(0, 0xFF) for _ in range(10)))[:16].decode().lower()
|
||||
|
Loading…
Reference in New Issue
Block a user