typo
This commit is contained in:
4
nandod
4
nandod
@@ -202,7 +202,7 @@ if __name__ == "__main__":
|
|||||||
UDP=threading.Thread(target=UDPserve)
|
UDP=threading.Thread(target=UDPserve)
|
||||||
UDP.daemon=True
|
UDP.daemon=True
|
||||||
UDP.start()
|
UDP.start()
|
||||||
if options.WEBPORT > 0:
|
if opts.WEBPORT > 0:
|
||||||
TCP=threading.Thread(target=TCPserve)
|
TCP=threading.Thread(target=TCPserve)
|
||||||
TCP.daemon=True
|
TCP.daemon=True
|
||||||
TCP.start()
|
TCP.start()
|
||||||
@@ -212,6 +212,6 @@ if __name__ == "__main__":
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("Exiting..")
|
print("Exiting..")
|
||||||
server.shutdown()
|
server.shutdown()
|
||||||
if options.WEBPORT > 0:
|
if opts.WEBPORT > 0:
|
||||||
HTMLserver.shutdown()
|
HTMLserver.shutdown()
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user