Skip to content

Commit

Permalink
Fix string concatenation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLametta committed Feb 2, 2019
1 parent f79fb32 commit 9dc5702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions whipper/extern/task/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def setExceptionAndTraceback(self, exception):
# for now
if str(exception):
msg = ": %s" % str(exception)
line = "exception %(exc)s at %(filename)s:%(line)s: "
"%(func)s()%(msg)s" % locals()
line = ("exception %(exc)s at %(filename)s:%(line)s: "
"%(func)s()%(msg)s" % locals())

self.exception = exception
self.exceptionMessage = line
Expand Down

0 comments on commit 9dc5702

Please # to comment.