diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/maintenance/quantile_normalize.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/maintenance/quantile_normalize.py b/wqflask/maintenance/quantile_normalize.py index 2e2b0ec3..90ec72de 100644 --- a/wqflask/maintenance/quantile_normalize.py +++ b/wqflask/maintenance/quantile_normalize.py @@ -100,7 +100,7 @@ def set_data(cursor, dataset_name): if __name__ == '__main__': with database_connection as conn: - with conn.cursor as cursor: + with conn.cursor() as cursor: success, _ = bulk(es, set_data(cursor, sys.argv[1])) response = es.search( |