From f3db5a2636d0525b60d8dea01e71b1fd7ae0a1d0 Mon Sep 17 00:00:00 2001 From: tortorootoeot Date: Thu, 7 Dec 2023 19:50:17 +0600 Subject: [PATCH] chore: replaced tos time in second registration to be more correct --- src/warp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/warp.py b/src/warp.py index 66b2970..9cb4b09 100644 --- a/src/warp.py +++ b/src/warp.py @@ -256,7 +256,7 @@ async def clone_key(key: str, proxy_url: Optional[str], device_model: Optional[s 'key': WireGuard.pubkey(privkey=WireGuard.genkey()), 'locale': 'en_US', 'model': 'PC', - 'tos': datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%S.%f+00:00"), + 'tos': datetime.datetime.now(tz=datetime.timezone.utc).isoformat(), 'type': 'Android', 'referrer': register_data['id'], }