def _send_report(self): """ Send the contents of the log as a bug report """ text = self._text.document().toPlainText() if submit_bug_report(text): self._clear()
def _send_report(self, *args): """ Send the contents of the log as a bug report """ text = self._text.document().toPlainText() submit_bug_report(text)