aboutsummaryrefslogtreecommitdiffstats
path: root/cyberflex-shell.py
diff options
context:
space:
mode:
authorhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-10-19 23:39:22 +0000
committerhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-10-19 23:39:22 +0000
commit02e3988218652af7027411997bf7a11ebffb94e6 (patch)
tree30f0e6979b05f890e33c42e1e603e7a5735d845f /cyberflex-shell.py
parent39696756914c5b96972fd17b9271a9794f3ffbec (diff)
stupid typo
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@118 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'cyberflex-shell.py')
-rwxr-xr-xcyberflex-shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cyberflex-shell.py b/cyberflex-shell.py
index 8b5f2e8..c591b86 100755
--- a/cyberflex-shell.py
+++ b/cyberflex-shell.py
@@ -160,7 +160,7 @@ class Cyberflex_Shell(Shell):
apdu_string = stack[0]
- if apdu_head.strip != "":
+ if apdu_head.strip() != "":
l = len("".join(stack[0].split()))
assert l % 2 == 0
l = l/2
@@ -305,7 +305,7 @@ class Cyberflex_Shell(Shell):
NOCARD_COMMANDS = {
"connect": cmd_connect,
}
-
+
OPTIONS = "r:l"
LONG_OPTIONS = ["reader=", "list-readers"]
exit_now = False