Commit 387f7445 authored by Barry Peddycord III's avatar Barry Peddycord III 🍞

Update askurza.py

parent aaedd606
......@@ -51,7 +51,7 @@ def handle(toot):
wget.download(card['image_uris']['normal'], card_file)
except:
card_file = ""
card_text = "%s: %s"%(card['name'][:30], card.get('oracle_text', "Could not fetch oracle text."))
card_text = "%s: %s"%(card['name'][:30], card.get('oracle_text', "Could not fetch oracle text.")[:300])
if card_file:
images.append([card_file, card_text])
return replytext, images
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment