from flask import url_for

from random import randint


def random_avatar():
    filename = "images/avatars/%s.png" % randint(0, 9)
    return url_for('static', filename=filename, _external=True)

@@ -175,22 +175,6 @@
 name
-, _external=True
 )%0A

fix bug in avatar.py