@user.route('/<int:user_id>/avatar/<path:filename>')
@login_required
def avatar(user_id, filename):
    dir_path = os.path.join(APP.config['UPLOAD_FOLDER'], user_id % 'user_%s')
    return send_from_directory(dir_path, filename, as_attachment=True)
dataset/ETHPy150Open imwilsonxu/fbone/fbone/user/views.py/avatar/swapped operands of `%`