diff --git a/src/fetch.py b/src/fetch.py index a49940c..b87a5c6 100755 --- a/src/fetch.py +++ b/src/fetch.py @@ -42,7 +42,7 @@ boorus = { } config = { - 'config': './data/config/fetch.json', + 'source': './data/config/fetch.json', 'booru': "e621", # booru definition to use from the above object, currently only supports e621 @@ -93,7 +93,7 @@ if len(args) == 0: print('No arguments passed, example: `python3 fetch.py \"kemono -dog\"`') quit() -config['query'] = urllib.parse.quote(" ".join(args)) +config['query'] = urllib.parse.quote(args) def parse(): global booru, config, cache