Skip to content

Commit 7864990

Browse files
committed
fixed minor bug in lib/cache.py
1 parent b9839f4 commit 7864990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
else:
99
_REDIS = None
1010

11-
if os.environ.get('REDIS_PREFIX', '').lower() != 'none':
11+
if os.environ.get('REDIS_PREFIX', ''):
1212
_REDIS_PREFIX = os.environ.get('REDIS_PREFIX', '') + ':'
1313
else:
1414
_REDIS_PREFIX = ''

0 commit comments

Comments
 (0)