Browse Source

Remove conditional as we know these args are always present

tags/nilmdb-2.0.0
Jim Paris 2 years ago
parent
commit
79b410a85b
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      nilmdb/cmdline/extract.py

+ 2
- 3
nilmdb/cmdline/extract.py View File

@@ -41,9 +41,8 @@ def setup(self, sub):
return cmd

def cmd_extract_verify(self):
if self.args.start is not None and self.args.end is not None:
if self.args.start > self.args.end:
self.parser.error("start is after end")
if self.args.start > self.args.end:
self.parser.error("start is after end")

if self.args.binary:
if (self.args.bare or self.args.annotate or self.args.markup or


Loading…
Cancel
Save