Update redis_storage.py

This commit is contained in:
_run 2022-08-30 12:26:34 +04:00 committed by GitHub
parent b86c38367a
commit 85bd174fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ import json
redis_installed = True
try:
import aioredis
except:
except ImportError:
try:
from redis import asyncio as aioredis
except:
except ImportError:
redis_installed = False