Skip to content

Commit e6bae37

Browse files
Update the settings retreiving method
1 parent c4141dd commit e6bae37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

curiouscat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def google_search(query, cat):
1010
Input is the query.
1111
"""
1212
# Load settings
13-
settings = cat.mad_hatter.plugins["curiouscat"].load_settings()
13+
settings = cat.mad_hatter.get_plugin().load_settings()
1414
num_results = settings["number_of_results"]
1515
lang = settings["language"]
1616

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CuriousCat",
3-
"version": "0.1.2",
3+
"version": "0.2.0",
44
"description": "Search the internet using Google and get a list of web pages with titles, descriptions, and links.",
55
"author_name": "Furrmidable Crew",
66
"author_url": "https://github.com/Furrmidable-Crew/",

0 commit comments

Comments
 (0)