mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2025-01-09 17:33:47 +00:00
Update demo.py
This commit is contained in:
parent
af41a96343
commit
9de9f75a16
1 changed files with 1 additions and 2 deletions
3
demo.py
3
demo.py
|
@ -114,8 +114,7 @@ async def main(args: argparse.Namespace):
|
|||
expiration = expiration.replace(tzinfo=datetime.timezone.utc)
|
||||
logging.info(expire_msg(expiration))
|
||||
|
||||
# This is an Apple ID user, so we can use it to send the notification iMessage (if enabled)
|
||||
if "U:" in str(user.user_id):
|
||||
else:
|
||||
email_user = user
|
||||
for n in range(len(user.handles)):
|
||||
# HACK: Just pick the first email address they have to avoid picking the linked phone number
|
||||
|
|
Loading…
Reference in a new issue