From e848172ba58da56d1ed415052f87498e481999f7 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 17 Jan 2011 13:56:15 +0100 Subject: Fix chipID sanity check Signed-off-by: Michael Buesch --- toprammer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toprammer b/toprammer index cde6a90..76ef562 100755 --- a/toprammer +++ b/toprammer @@ -201,7 +201,7 @@ def main(argv): except (getopt.GetoptError, ValueError), e: usage() return 1 - if opt_action and opt_action != "print-list" and not opt_chipID: + if opt_action != "print-list" and not opt_chipID: print "-c|--chip-id is mandatory!" return 1 if not opt_informat in ("auto", "bin", "ihex", "hex"): -- cgit v1.2.3