mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-24 03:42:43 -06:00
Fix reg_notify
This commit is contained in:
parent
50f2d89b4f
commit
cde8116a66
1 changed files with 2 additions and 1 deletions
3
demo.py
3
demo.py
|
@ -104,7 +104,8 @@ async def main(args: argparse.Namespace):
|
|||
CONFIG["users"] = []
|
||||
|
||||
expiration = None
|
||||
|
||||
# Format time as HH:MM:SS PM/AM EST/EDT (X minutes from now)
|
||||
expire_msg = lambda expiration: f"Number registration is valid until {str(expiration.astimezone().strftime('%x %I:%M:%S %p %Z'))} ({str(int((expiration - datetime.datetime.now(datetime.timezone.utc)).total_seconds()/60))} minutes from now)"
|
||||
|
||||
email_user = None
|
||||
email_addr = None # For HACK below
|
||||
|
|
Loading…
Reference in a new issue