mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-08 07:21:36 +01:00
fix: use non-list var correctly
This commit is contained in:
@@ -74,7 +74,7 @@ def get_dispatch():
|
|||||||
# add phone numbers and emails #
|
# add phone numbers and emails #
|
||||||
for obj in response:
|
for obj in response:
|
||||||
for person in dispatch_objects:
|
for person in dispatch_objects:
|
||||||
if dispatch_objects.username == obj["person"]:
|
if obj.username == obj["person"]:
|
||||||
obj.update({ "email" : person.email })
|
obj.update({ "email" : person.email })
|
||||||
obj.update({ "phone" : person.phone })
|
obj.update({ "phone" : person.phone })
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user