Commit ea7852ef authored by Vitaly Lipatov's avatar Vitaly Lipatov

gateway: avoid unsatisfied Redis submodule dependency

parent 0a8d69a3
......@@ -14,7 +14,7 @@ AutoBanManager - управление автоматической разбло
import time
import logging
from redis.exceptions import WatchError
import redis
log = logging.getLogger(__name__)
......@@ -129,7 +129,7 @@ class AutoBanManager:
return metadata
except WatchError:
except redis.exceptions.WatchError:
continue
except Exception as e:
log.error(f"AutoBanManager.on_ban error: {e}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment