Skip to content

Commit

Permalink
Merge pull request #3 from c4software/master
Browse files Browse the repository at this point in the history
Modification
  • Loading branch information
sebclick committed Aug 7, 2012
2 parents 64730e8 + fbdace7 commit 9a45739
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"xml"
],
"parserobots":true,
"debug":false,
"debug":true,
"output":false,
"exclude": [
"action=edit"
Expand Down
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ def exclude_url(exclude, link):
elif type(dict_arg[argument]).__name__ == 'bool':
if dict_arg[argument]:
dict_arg[argument] = True
else:
dict_arg[argument] = config[argument]
else:
dict_arg[argument] = config[argument]
else:
logging.error ("Unknown flag in JSON")

if arg.debug:
logging.basicConfig(level=logging.DEBUG)
logging.debug ("Configuration : ")
Expand Down

0 comments on commit 9a45739

Please sign in to comment.