oops
This commit is contained in:
parent
06183b494e
commit
3bec2624fb
|
@ -42,7 +42,7 @@ boorus = {
|
||||||
}
|
}
|
||||||
|
|
||||||
config = {
|
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
|
'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\"`')
|
print('No arguments passed, example: `python3 fetch.py \"kemono -dog\"`')
|
||||||
quit()
|
quit()
|
||||||
|
|
||||||
config['query'] = urllib.parse.quote(" ".join(args))
|
config['query'] = urllib.parse.quote(args)
|
||||||
|
|
||||||
def parse():
|
def parse():
|
||||||
global booru, config, cache
|
global booru, config, cache
|
||||||
|
|
Loading…
Reference in New Issue
Block a user