diff options
| -rw-r--r-- | src/Gui/CCMainWindow.py | 2 | ||||
| -rw-r--r-- | src/Gui/CCReporterDialog.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 0d9b0a2..7967028 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -234,7 +234,7 @@ class MainWindow(): for message in dump.getMessage().split(';'): if message: message_clean = message.strip() - if "http" in message_clean[0:5] or "file:///"[0:8] in message_clean: + if "http" in message_clean[0:5] or "file:///" in message_clean[0:8]: report_message = "<a href=\"%s\">%s</a>" % (message_clean, message_clean) else: report_message = message_clean diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py index 816164b..bc4a1e0 100644 --- a/src/Gui/CCReporterDialog.py +++ b/src/Gui/CCReporterDialog.py @@ -290,11 +290,11 @@ class ReporterDialog(): self.tevHowToReproduce.set_buffer(buff) def dehydrate(self): - # handle attachments - vbAttachments = self.builder.get_object("vbAttachments") - for attachment in vbAttachments.get_children(): - #print "%s file %s" % (["not sending","sending"][attachment.get_active()], attachment.get_label()) - del self.report[attachment.item] + ## # handle attachments + ## vbAttachments = self.builder.get_object("vbAttachments") + ## for attachment in vbAttachments.get_children(): + ## #print "%s file %s" % (["not sending","sending"][attachment.get_active()], attachment.get_label()) + ## del self.report[attachment.item] # handle comment buff = self.tvComment.get_buffer() |
