about summary refs log tree commit diff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation_matrix/show_corr_matrix.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/wqflask/wqflask/correlation_matrix/show_corr_matrix.py b/wqflask/wqflask/correlation_matrix/show_corr_matrix.py
index dac4037e..49ba9e5d 100644
--- a/wqflask/wqflask/correlation_matrix/show_corr_matrix.py
+++ b/wqflask/wqflask/correlation_matrix/show_corr_matrix.py
@@ -29,10 +29,8 @@ import rpy2.robjects as robjects
 from pprint import pformat as pf
 
 from utility.redis_tools import get_redis_conn
-try:  # Only import this for Python3
-    from functools import reduce
-except:
-    pass
+from functools import reduce
+
 Redis = get_redis_conn()
 THIRTY_DAYS = 60 * 60 * 24 * 30