fixed loading file image

partially fixes #41
This commit is contained in:
Frank Morgner
2015-02-08 20:41:07 +01:00
parent 832e4110f9
commit a76a859a92

View File

@@ -43,7 +43,7 @@ parser.add_argument("-v", "--verbose",
help="Use (several times) to be more verbose") help="Use (several times) to be more verbose")
parser.add_argument("-f", "--file", parser.add_argument("-f", "--file",
action="store", action="store",
type=argparse.FileType('r'), type=str,
help="load a saved smart card image") help="load a saved smart card image")
parser.add_argument("-H", "--hostname", parser.add_argument("-H", "--hostname",
action="store", action="store",