Release v0.0.2
This commit is contained in:
parent
c11d8ab4b8
commit
98c1b8c0df
2 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"Author": "Lars",
|
"Author": "Lars",
|
||||||
"Version": "0.0.1",
|
"Version": "0.0.1",
|
||||||
"Language": "python",
|
"Language": "python",
|
||||||
"Website": "https://git.lrsb.nl/Lars/FlowLauncher-OSRS-Wiki-Search",
|
"Website": "https://git.lrsb.nl/lars/osrssearch",
|
||||||
"IcoPath": "./icon.png",
|
"IcoPath": "./icon.png",
|
||||||
"ExecuteFileName": "run.py"
|
"ExecuteFileName": "run.py"
|
||||||
}
|
}
|
|
@ -15,6 +15,8 @@ class OSRSSearch(object):
|
||||||
return response
|
return response
|
||||||
|
|
||||||
def search(self, query):
|
def search(self, query):
|
||||||
|
if not query:
|
||||||
|
query = ''
|
||||||
params = {
|
params = {
|
||||||
('srsearch', query)
|
('srsearch', query)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue