Use correct option

This commit is contained in:
Stefan Bethke 2024-02-26 23:00:59 +01:00
parent 4906c633e2
commit 496e41bd4b

View file

@ -80,7 +80,7 @@ def main(args):
dmx.color = (0, 0, 0) dmx.color = (0, 0, 0)
dmx.animation = "off" dmx.animation = "off"
run(host='0.0.0.0', port=args.port, reloader=False, debug=True) run(host='0.0.0.0', port=args.listen, reloader=False, debug=True)
if __name__ == '__main__': if __name__ == '__main__':
main(sys.argv[1:]) main(sys.argv[1:])