forked from openlp/openlp
Assign Variables before use
bzr-revno: 1785
This commit is contained in:
commit
a62b03dce6
@ -178,6 +178,8 @@ class ExceptionForm(QtGui.QDialog, Ui_ExceptionDialog):
|
||||
'Please add the information that bug reports are favoured written '
|
||||
'in English.'))
|
||||
content = self._createReport()
|
||||
source = u''
|
||||
exception = u''
|
||||
for line in content[2].split(u'\n'):
|
||||
if re.search(r'[/\\]openlp[/\\]', line):
|
||||
source = re.sub(r'.*[/\\]openlp[/\\](.*)".*', r'\1', line)
|
||||
|
Loading…
Reference in New Issue
Block a user