Skip to content

Commit

Permalink
fixed issue where default config.init is required even if -c is given
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe committed Nov 13, 2016
1 parent 201cbc0 commit 02fde71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nichtparasoup.py
Expand Up @@ -38,7 +38,7 @@
arg_parser = argparse.ArgumentParser()
arg_parser.add_argument('-c', '--config-file', metavar='<file>',
type=argparse.FileType('r'),
default=open(path.join(_file_path, 'config.ini'), 'r'),
required=True,
help='a file path to the config ini',
dest="config_file")
args = arg_parser.parse_args()
Expand Down

0 comments on commit 02fde71

Please sign in to comment.