Skip to content

Commit

Permalink
added missing space to replacement string in traceback formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Mar 2, 2020
1 parent e2fb91a commit c2d9743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyblish/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def extract_traceback(exception, fname=None):
exception.traceback = (fname, lineno, func, msg)
formatted_traceback = formatted_traceback.replace(
'File "<string>", line ',
'File "{0}", line'.format(fname))
'File "{0}", line '.format(fname))
exception.formatted_traceback = formatted_traceback

del(exc_type, exc_value, exc_traceback)
Expand Down

0 comments on commit c2d9743

Please sign in to comment.