diff --git a/nandod b/nandod index 6cab4ad..fb1abad 100755 --- a/nandod +++ b/nandod @@ -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)