quiet mode bug

dont show BOSWatch Header text in quiet mode
This commit is contained in:
Bastian Schroll 2015-04-05 19:20:42 +02:00
parent 655c1ee99d
commit 7cccf66cd4

View file

@ -71,16 +71,7 @@ try:
except: except:
log("cannot parse Args","error") log("cannot parse Args","error")
#Read Data from Args, Put it into working Variables and Display them #Read Data from Args, Put it into working Variables
print " ____ ____ ______ __ __ __ "
print " / __ )/ __ \/ ___/ | / /___ _/ /______/ /_ b"
print " / __ / / / /\__ \| | /| / / __ `/ __/ ___/ __ \ e"
print " / /_/ / /_/ /___/ /| |/ |/ / /_/ / /_/ /__/ / / / t"
print " /_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ a"
print " German BOS Information Script "
print " by Bastian Schroll "
print ""
freq = args.freq freq = args.freq
device = args.device device = args.device
error = args.error error = args.error
@ -100,6 +91,15 @@ try:
squelch = args.squelch squelch = args.squelch
if not args.quiet: #only if not quiet mode if not args.quiet: #only if not quiet mode
print " ____ ____ ______ __ __ __ "
print " / __ )/ __ \/ ___/ | / /___ _/ /______/ /_ b"
print " / __ / / / /\__ \| | /| / / __ `/ __/ ___/ __ \ e"
print " / /_/ / /_/ /___/ /| |/ |/ / /_/ / /_/ /__/ / / / t"
print " /_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ a"
print " German BOS Information Script "
print " by Bastian Schroll "
print ""
print "Frequency: "+freq print "Frequency: "+freq
print "Device-ID: "+str(device) print "Device-ID: "+str(device)
print "Error in PPM: "+str(error) print "Error in PPM: "+str(error)