From 0199151165025eb1eac523ef114c0e25bcaa1065 Mon Sep 17 00:00:00 2001 From: Schrolli Date: Tue, 30 Jun 2015 12:38:52 +0200 Subject: [PATCH] littles changes at arguments debug --- boswatch.py | 3 ++- includes/shellHeader.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/boswatch.py b/boswatch.py index 051d623..24727c9 100755 --- a/boswatch.py +++ b/boswatch.py @@ -142,8 +142,9 @@ try: # For debug display/log args # try: + logging.debug("BOSWatch given arguments") if args.test: - logging.debug(" - We are in Test-Mode!") + logging.debug(" - Test-Mode!") logging.debug(" - Frequency: %s", converter.freqToHz(args.freq)) logging.debug(" - Device: %s", args.device) diff --git a/includes/shellHeader.py b/includes/shellHeader.py index aa7a5d1..7137c41 100644 --- a/includes/shellHeader.py +++ b/includes/shellHeader.py @@ -46,6 +46,8 @@ def printHeader(args): print "Squelch: "+str(args.squelch) if args.verbose: print "Verbose Mode!" + if args.test: + print "Test Mode!" print "" except: logging.error("cannot display shell header")