mutable varibale bug

This commit is contained in:
2019-12-16 21:36:24 +08:00
parent 2dffadca8c
commit ae1db6e3ab
2 changed files with 4 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ class Netrecv:
while True:
# try unpack #
dp = copy.copy(Datapack(check_head=False))
dp = Datapack(check_head=False)
dp.encode_data = data
print('data', data)
try: