Explorar el Código

fix: datetime is not defined

zhayujie hace 3 años
padre
commit
b590e889a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      common/expired_dict.py

+ 1 - 1
common/expired_dict.py

@@ -1,5 +1,5 @@
 import time
-
+from datetime import datetime, timedelta
 
 class ExpiredDict(dict):
     def __init__(self, expires_in_seconds):