quietMode = False
serialPort = None
- readDatabase=False
- readStartTime=datetime.datetime.min
- readStopTime=datetime.datetime.max
- compatMode=False
forwardToTextFile=False
for o, a in opts:
elif o == "-d":
debug = True
- elif o == "-o":
- compatMode=True
elif o == "-h":
usage(uo)
sys.exit(0)
uo.setLogFile("cm160Server.log")
-
- if not compatMode:
- uo.info("CM160Server v %2.2f" % (VERSION) )
+ uo.info("CM160Server v %2.2f" % (VERSION) )
uo.setDebug(debug)