Skip to content

Commit ff512ba

Browse files
committed
Fix output when printing table rows
1 parent 082dca3 commit ff512ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impacket/tds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ def printRows(self):
11801180
for row in self.rows:
11811181
for col in self.colMeta:
11821182
self.__rowsPrinter.logMessage(col['Format'] % row[col['Name']] + self.COL_SEPARATOR)
1183-
self.__rowsPrinter.logMessage('\n')
1183+
self.__rowsPrinter.logMessage('\r')
11841184

11851185
def printReplies(self, error_logger=LOG.error, info_logger=LOG.info):
11861186
for keys in list(self.replies.keys()):

0 commit comments

Comments
 (0)