Skip to content

Commit 2607b22

Browse files
author
Foxlet
committed
Make it API Key-aware - books.py
1 parent 3414462 commit 2607b22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/books.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ def books(text):
5757
except KeyError:
5858
pages = ''
5959

60-
link = web.shorten(book['infoLink'], service="goo.gl")
60+
link = web.shorten(book['infoLink'], service="goo.gl", key=dev_key)
6161

6262
return "\x02{}\x02 by \x02{}\x02 ({}){} - {} - {}".format(title, author, year, pages, description, link)

0 commit comments

Comments
 (0)