Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jan 28, 2020
1 parent 9b4a66d commit 7f66866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scan_to_paperless/scan.py
Expand Up @@ -166,7 +166,7 @@ def add_argument(name, choices=None, **kwargs):
args = parser.parse_args()

dirty = False
for conf in args.set_cofig:
for conf in args.set_config:
config[conf[0]] = conf[1]
dirty = True
if dirty:
Expand Down Expand Up @@ -243,7 +243,7 @@ def add_argument(name, choices=None, **kwargs):
images = sorted(images, key=lambda e: int(regex.match(e).group(1)))
args_ = {}
args_.update(config.get('default_args', {}))
args_.update(dict([arg.split("=") for arg in args]))
args_.update(dict(args._get_kwargs()))
config = {
'images': images,
'full_name': full_name,
Expand Down

0 comments on commit 7f66866

Please sign in to comment.