mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 22:27:13 +08:00
fix: datetime is not defined
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import time
|
import time
|
||||||
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
class ExpiredDict(dict):
|
class ExpiredDict(dict):
|
||||||
def __init__(self, expires_in_seconds):
|
def __init__(self, expires_in_seconds):
|
||||||
|
|||||||
Reference in New Issue
Block a user