This commit is contained in:
Kovid Goyal 2018-04-20 22:06:42 +05:30
parent 2e90e443ed
commit cd25abc49f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -4,7 +4,6 @@
import os
import sys
import traceback
from functools import partial
from gettext import gettext as _
@ -57,8 +56,9 @@ class DiffHandler(Handler):
def on_job_done(self, job_id, job_result):
if 'tb' in job_result:
self.report_traceback_on_exit = traceback.format_exc()
self.report_traceback_on_exit = job_result['tb']
self.quit_loop(1)
return
if job_id == 'diff':
self.collection = job_result['result']
self.state = READY