1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

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

View File

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