Skip to content

Commit 149bdc7

Browse files
committed
refs #281, Duplicate record working
oops, forgot something
1 parent 32266f1 commit 149bdc7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

examples/SQLite_examples/Journal.db

0 Bytes
Binary file not shown.

pysimplesql/pysimplesql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2228,7 +2228,7 @@ def sort_by_column(self, column: str, table: str, reverse=False) -> None:
22282228
finally:
22292229
# Drop the temporary description column (if it exists)
22302230
if tmp_column is not None:
2231-
self.rows.drop(columns=tmp, inplace=True, errors="ignore")
2231+
self.rows.drop(columns=tmp_column, inplace=True, errors="ignore")
22322232

22332233
def sort_by_index(self, index: int, table: str, reverse=False):
22342234
"""

0 commit comments

Comments
 (0)