From 6b7aee8875575fd18ae8ce692d9f1ce4ec4ae5c5 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Thu, 27 Jul 2023 01:27:58 +0100 Subject: [PATCH] Update cli.py --- src/pypi_data/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pypi_data/cli.py b/src/pypi_data/cli.py index a09c9a9a..95bf0c22 100644 --- a/src/pypi_data/cli.py +++ b/src/pypi_data/cli.py @@ -123,7 +123,7 @@ def print_thread(): f"PRAGMA memory_limit='2GB'; " f"PRAGMA enable_profiling;" f"{sql}", - parameters=[parameter] if parameter else []) + parameters=[[parameter]] if parameter else []) try: for name, plan in duckdb.fetchall(): print(name)