Fix some style regressions that snuck in

Related to #5997 and #3425
This commit is contained in:
Dan Smith 2018-08-08 07:55:35 -07:00
parent ed7bc5adc4
commit ef36f1a327
2 changed files with 3 additions and 2 deletions

View File

@ -1332,7 +1332,7 @@ def is_2_5(freq):
def is_8_33(freq):
"""Returns True if @freq is reachable by a 8.33kHz step"""
return (freq % 25000) in [ 0, 8330, 16660 ]
return (freq % 25000) in [0, 8330, 16660]
def required_step(freq):

3
chirpw
View File

@ -112,7 +112,8 @@ else:
parser = argparse.ArgumentParser()
parser.add_argument("files", metavar="file", nargs='*', help="File to open")
parser.add_argument("--module", metavar="module", help="Load module on startup")
parser.add_argument("--module", metavar="module",
help="Load module on startup")
logger.add_version_argument(parser)
parser.add_argument("--profile", action="store_true",
help="Enable profiling")