Skip to content

Commit 6fc5725

Browse files
committed
run black
1 parent ab4bad8 commit 6fc5725

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def query(self, query: str):
1818
Docs on the endpoint
1919
https://developer.wordnik.com/docs#!/word/getDefinitions
2020
"""
21-
21+
2222
url = f"https://api.wordnik.com/v4/word.json/{quote_plus(query)}/definitions"
2323
params = {
2424
"limit": 20,
@@ -37,12 +37,12 @@ def query(self, query: str):
3737
final.append(
3838
{
3939
"Title": definition["text"],
40-
"SubTitle": definition['attributionText'],
40+
"SubTitle": definition["attributionText"],
4141
"IcoPath": "Images/app.png",
4242
"JsonRPCAction": {
4343
"method": "open_url",
44-
"parameters": [definition['wordnikUrl']]
45-
}
44+
"parameters": [definition["wordnikUrl"]],
45+
},
4646
}
4747
)
4848

0 commit comments

Comments
 (0)