def allowed_file(filename):
    return '.' in filename and ALLOWED_AVATAR_EXTENSIONS in filename.rsplit('.', 1)[1]
dataset/ETHPy150Open codelucas/flask_reddit/flask_reddit/utils.py/allowed_file/swapped operands of `in`