Netrecv function beta version

This commit is contained in:
2019-12-15 11:32:54 +08:00
parent 04da406157
commit 87081c9149
6 changed files with 63 additions and 5 deletions

View File

@@ -14,7 +14,6 @@ def main():
app = app.replace(' ', '')
dp = Datapack(head={'from': __name__})
dp.app = app
print(body)
dp.body = body.encode()
send_queue.put(dp)
@@ -25,7 +24,6 @@ def find_the_last(indata): # find the last ":" index
try:
next_index = indata[first_index+1:].index(':')
first_index += next_index + 1
print(first_index)
except Exception as e:
break
last_index = copy.copy(first_index)