summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/loggerwindow.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-04-02 14:38:19 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-02 14:38:19 -0300
commitf8f428395b32f5e0d4f4c8dfb5595755dae80e54 (patch)
tree3d132929c36cda9b6ed18300ffe0f5c9f1ebb87a /src/leap/bitmask/gui/loggerwindow.py
parent9376f72fb5ff2d34ad7c380c8dfbb2435601a63f (diff)
Don't escape logs for pastebin. Closes #5433.
Diffstat (limited to 'src/leap/bitmask/gui/loggerwindow.py')
-rw-r--r--src/leap/bitmask/gui/loggerwindow.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/loggerwindow.py b/src/leap/bitmask/gui/loggerwindow.py
index c01642fc..9f396574 100644
--- a/src/leap/bitmask/gui/loggerwindow.py
+++ b/src/leap/bitmask/gui/loggerwindow.py
@@ -127,7 +127,7 @@ class LoggerWindow(QtGui.QDialog):
current_history = []
for line in history:
self._add_log_line(line)
- message = cgi.escape(line[LeapLogHandler.MESSAGE_KEY])
+ message = line[LeapLogHandler.MESSAGE_KEY]
current_history.append(message)
self._current_history = "\n".join(current_history)
@@ -222,7 +222,6 @@ class LoggerWindow(QtGui.QDialog):
"""
msg = self.tr("Your pastebin link <a href='{0}'>{0}</a>")
msg = msg.format(link)
- logger.debug(msg)
show_info = lambda: QtGui.QMessageBox.information(
self, self.tr("Pastebin OK"), msg)
self._set_pastebin_sending(False)