fix pet name associated
This commit is contained in:
parent
413a2c06a4
commit
8e58b0bc1f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user