diff --git a/plugin.json b/plugin.json index 92e2092..b2921ec 100644 --- a/plugin.json +++ b/plugin.json @@ -6,7 +6,7 @@ "Author": "Lars", "Version": "0.0.1", "Language": "python", - "Website": "https://git.lrsb.nl/Lars/FlowLauncher-OSRS-Wiki-Search", + "Website": "https://git.lrsb.nl/lars/osrssearch", "IcoPath": "./icon.png", "ExecuteFileName": "run.py" } \ No newline at end of file diff --git a/plugin/osrswiki.py b/plugin/osrswiki.py index 779f675..33d3b91 100644 --- a/plugin/osrswiki.py +++ b/plugin/osrswiki.py @@ -15,6 +15,8 @@ class OSRSSearch(object): return response def search(self, query): + if not query: + query = '' params = { ('srsearch', query) }