Update CoreModel.py

This commit is contained in:
Иван 2019-01-23 09:07:23 +03:00 committed by GitHub
parent 9bfcc9020e
commit 2b412dd8f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,4 +13,5 @@ class CoreModel:
if result == 0: if result == 0:
openPorts.append(i) openPorts.append(i)
self.defSocket.close() self.defSocket.close()
self.defSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
return openPorts return openPorts