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:
parent
b86c38367a
commit
85bd174fdc
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user