mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-08-09 20:14:01 +00:00
fix pet name associated
This commit is contained in:
@@ -127,7 +127,7 @@ def pet_name_maintenance():
|
|||||||
with scheduler.app.app_context():
|
with scheduler.app.app_context():
|
||||||
# associate pet names to characters
|
# associate pet names to characters
|
||||||
# current_app.logger.info("Started Pet Name Maintenance")
|
# 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:
|
if unassociated_pets:
|
||||||
current_app.logger.info("Found un-associated pets")
|
current_app.logger.info("Found un-associated pets")
|
||||||
for pet in unassociated_pets:
|
for pet in unassociated_pets:
|
||||||
|
Reference in New Issue
Block a user