Skip to content

Commit c4bfc89

Browse files
committed
prevent animated
1 parent bdd31a2 commit c4bfc89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kappabot_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ async def getsafeboorupic(tag, filename, blur=False):
8787
if random.random() < 0.10:
8888
shutil.copyfile(os.path.join(sys.path[0], 'yuri.jpg'), os.path.join(sys.path[0], 'yuripic.jpg'))
8989
return 'http://safebooru.org/index.php?page=post&s=view&id=1782381'
90+
tag += " -animated"
9091
encoded_tags = urllib.parse.urlencode({
9192
"tags": tag
9293
})

0 commit comments

Comments
 (0)