beremiz

close ZeroConf object when exiting the Service Discovery window.
(otherwise pythonw.exe does not exit when closing Beremiz on Windows)
import time,sys
def myprintfunc(arg):
print arg
sys.stdout.flush()
return arg