def thumbgen_filename(filename):
    name, ext = op.splitext(filename)
    return '%s_thumb%s' % (name, ext)
Generate thumbnail name from filename.
dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/form/upload.py/thumbgen_filename