summaryrefslogtreecommitdiffstats
path: root/clients/ivam-voicebox
diff options
context:
space:
mode:
Diffstat (limited to 'clients/ivam-voicebox')
-rwxr-xr-xclients/ivam-voicebox16
1 files changed, 8 insertions, 8 deletions
diff --git a/clients/ivam-voicebox b/clients/ivam-voicebox
index bc5a83c..88b6778 100755
--- a/clients/ivam-voicebox
+++ b/clients/ivam-voicebox
@@ -44,29 +44,29 @@ def parseArgs(vb, argv):
vb.setDirectory(dname)
for o, a in opts:
- if o in ("-d", "--debug"):
+ if o in ("-d", "--debug",):
ivamCore.DEBUG = True
- elif o in ("-h", "--help"):
+ elif o in ("-h", "--help",):
usage()
sys.exit()
- elif o in ("--record-time"):
+ elif o in ("--record-time",):
vb.recordTime = int(a)
- elif o in ("--pin"):
+ elif o in ("--pin",):
vb.setPin(a)
- elif o in ("--pin-file"):
+ elif o in ("--pin-file",):
vb.setPin(getContents(a))
- elif o in ("--message-program"):
+ elif o in ("--message-program",):
vb.messageProgram = a
- elif o in ("--record-only"):
+ elif o in ("--record-only",):
vb.recordOnly = True
- elif o in ("--no-record"):
+ elif o in ("--no-record",):
vb.noRecord = True