Hello
I have error after adding one rule
id 1
created 2021-03-31 21:56:33.792587
updated 2021-03-31 22:31:44.223164
address 196.245.0.0
prefix 16
duration 7900000000
user_id NULL
python3.8/site-packages/blacklist/middleware.py in _load_blacklist
for rule in rules:
Variable | Value
addr_blacklist | {}
current_time | datetime.datetime(2021, 3, 31, 22, 32, 57, 493809, tzinfo=)
rules | Error in formatting: AttributeError: 'str' object has no attribute 'tzinfo'
until | Max(F(created) + F(duration))
user_blacklist | {}
Hello I have error after adding one rule id 1 created 2021-03-31 21:56:33.792587 updated 2021-03-31 22:31:44.223164 address 196.245.0.0 prefix 16 duration 7900000000 user_id NULL
python3.8/site-packages/blacklist/middleware.py in _load_blacklist for rule in rules:
Variable | Value addr_blacklist | {} current_time | datetime.datetime(2021, 3, 31, 22, 32, 57, 493809, tzinfo=)
rules | Error in formatting: AttributeError: 'str' object has no attribute 'tzinfo'
until | Max(F(created) + F(duration))
user_blacklist | {}
Can you help me?