changes
This commit is contained in:
@@ -322,9 +322,12 @@ class Rocksock():
|
||||
s = ''
|
||||
c = '\0'
|
||||
while c != '\n':
|
||||
try:
|
||||
c = self.recv(1)
|
||||
if c == '': return s
|
||||
s += c
|
||||
except Exception as e:
|
||||
raise e
|
||||
return s
|
||||
|
||||
def recvuntil(self, until):
|
||||
|
||||
Reference in New Issue
Block a user