forked from n/quotes-bot-python
fix minor security vuln
This commit is contained in:
parent
0d5b7cb854
commit
528e1e81a1
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -71,7 +71,7 @@ async def make_choice(room, message):
|
||||||
temp = False
|
temp = False
|
||||||
else:
|
else:
|
||||||
id = match.args()
|
id = match.args()
|
||||||
id = str(id[1])
|
id = int(id[1])
|
||||||
quoteImage = fetch.fetchQuote(id)
|
quoteImage = fetch.fetchQuote(id)
|
||||||
quoteData = fetch.fetchQuoteData(id)
|
quoteData = fetch.fetchQuoteData(id)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue