Fix affected rows row in downloads
authorKarl O. Pinc <kop@karlpinc.com>
Sun, 29 Sep 2024 21:24:06 +0000 (16:24 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Sun, 29 Sep 2024 21:24:06 +0000 (16:24 -0500)
src/pgwui_sql/views/sql.py

index 55f72b665f7a80b6b8b934558b055e39c84bd83d..afc0d9b0b12edfe59dcee1cb40a95fdf2a09eed5 100644 (file)
@@ -278,7 +278,7 @@ class SQLResultsHandler(pgwui_core.core.SessionDBHandler):
                 writer.writerow(sql_result.heading.data)
                 for row in sql_result.rows:
                     writer.writerow(row.data)
-                writer.writerow((f'{sql_result.rowcount.data} rows',))
+                writer.writerow((sql_result.rowcount.data,))
             self.tfile.seek(0)
 
     def cleanup(self):