File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def format(self, record: LogRecord) -> str:
209209 """
210210 text = super ().format (record )
211211 lines = text .splitlines ()
212- return self .terminator .join (lines ) + self . terminator
212+ return self .terminator .join (lines )
213213
214214 def emit (self , record : LogRecord ) -> None :
215215 """Send a message to the console.
@@ -561,7 +561,7 @@ def exception(self, err: Exception) -> None:
561561 )
562562 else :
563563 lines = [str (err )] + traceback .format_exception (err )
564- lines = str (err ) + "\n " .join (lines )
564+ lines = str (err ) + "" .join (lines )
565565 # some of the returned strings from format_exception already have newlines in them,
566566 # so we can't add the indent in the above line - needs to be done separately
567567 lines = lines .replace ("\n " , "\n " )
You can’t perform that action at this time.
0 commit comments