summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtoprammer2
1 files changed, 1 insertions, 1 deletions
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"):
bues.ch cgit interface