commit ced5bcb273a17a31058dd58ab413f7c83cfe4508
parent e346b4eb971b273cbb088200d1eee41448a1bb08
Author: Louis Burda <quent.burda@gmail.com>
Date: Mon, 31 May 2021 20:37:51 +0200
fixed do_auth receiving ID
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checker/src/checker.py b/checker/src/checker.py
@@ -153,8 +153,8 @@ class STLDoctorChecker(BaseChecker):
# Parse ID
self.debug(conn.recvline())
- line = conn.recvuntil("with ID ")
- self.debug(conn.recvline())
+ line = conn.recvline()
+ self.debug(line)
modelid = line.rsplit(b"!", 1)[0].split(b"with ID ", 1)[1]
if modelid == "":
raise BrokenServiceException("Unable to upload file!")