From 98c1b8c0df7c14d308caee06a258d56289afc6fd Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 5 Jul 2024 00:06:24 +0200 Subject: [PATCH] Release v0.0.2 --- plugin.json | 2 +- plugin/osrswiki.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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) }