Merge pull request #213 from messa/patch-1
Fix reprcrash check in unserialize_report()
This commit is contained in:
@@ -344,7 +344,7 @@ def unserialize_report(name, reportdict):
|
||||
ReprTraceback
|
||||
)
|
||||
if reportdict['longrepr']:
|
||||
if 'reprcrash' and 'reprtraceback' in reportdict['longrepr']:
|
||||
if 'reprcrash' in reportdict['longrepr'] and 'reprtraceback' in reportdict['longrepr']:
|
||||
|
||||
reprtraceback = reportdict['longrepr']['reprtraceback']
|
||||
reprcrash = reportdict['longrepr']['reprcrash']
|
||||
|
||||
Reference in New Issue
Block a user