From 8e58b0bc1f921e79012599bea678c8d60ce54575 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Mon, 4 Apr 2022 17:51:25 -0500 Subject: [PATCH] fix pet name associated --- app/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/moderation.py b/app/moderation.py index 642ecfc..fe10e8c 100644 --- a/app/moderation.py +++ b/app/moderation.py @@ -127,7 +127,7 @@ def pet_name_maintenance(): with scheduler.app.app_context(): # associate pet names to characters # current_app.logger.info("Started Pet Name Maintenance") - unassociated_pets = PetNames.query.filter(PetNames.owner_id is None).all() + unassociated_pets = PetNames.query.filter(PetNames.owner_id == None).all() if unassociated_pets: current_app.logger.info("Found un-associated pets") for pet in unassociated_pets: