diff --git a/transaction_database.py b/transaction_database.py index 20e2fe1..8f0215f 100644 --- a/transaction_database.py +++ b/transaction_database.py @@ -38,7 +38,8 @@ def run_query(): print("...") for row in maprows: - row['errors_array'] = row['errors'].rstrip().split(';') + # note: type changed from 'text' to 'text[]' + row['errors_array'] = row['errors'] return maprows