Skip to content

Commit db4030d

Browse files
committed
Update pysimplesql.py
1 parent aa7c8ac commit db4030d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysimplesql/pysimplesql.py

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

22372237
def sort_by_index(self, index: int, table: str, reverse=False):
22382238
"""

0 commit comments

Comments
 (0)