This commit is contained in:
q
2017-12-18 10:13:48 +02:00
parent 0cae5ec2f7
commit 0c223e1d05

4
nandod
View File

@@ -202,7 +202,7 @@ if __name__ == "__main__":
UDP=threading.Thread(target=UDPserve)
UDP.daemon=True
UDP.start()
if options.WEBPORT > 0:
if opts.WEBPORT > 0:
TCP=threading.Thread(target=TCPserve)
TCP.daemon=True
TCP.start()
@@ -212,6 +212,6 @@ if __name__ == "__main__":
except KeyboardInterrupt:
print("Exiting..")
server.shutdown()
if options.WEBPORT > 0:
if opts.WEBPORT > 0:
HTMLserver.shutdown()
sys.exit(0)