From 00dafe3121ce7b7f36f7b8d52182da0d3225fa71 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Mon, 27 Jan 2020 20:34:36 +0100 Subject: [PATCH] Fix restrict columns --- cps/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/helper.py b/cps/helper.py index 93ce1b07..6e6c1895 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -810,7 +810,7 @@ def get_cc_columns(): cc = [] for col in tmpcc: r = re.compile(config.config_columns_to_ignore) - if r.match(col.label): + if not r.match(col.name): cc.append(col) else: cc = tmpcc