mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
fixed minor bug in lib/cache.py
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ if os.environ.get('REDIS_HOST', '').lower() != 'none':
|
||||
else:
|
||||
_REDIS = None
|
||||
|
||||
if os.environ.get('REDIS_PREFIX', '').lower() != 'none':
|
||||
if os.environ.get('REDIS_PREFIX', ''):
|
||||
_REDIS_PREFIX = os.environ.get('REDIS_PREFIX', '') + ':'
|
||||
else:
|
||||
_REDIS_PREFIX = ''
|
||||
|
||||
Reference in New Issue
Block a user