summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-08-06 14:46:37 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-08-06 14:49:38 -0300
commitf4e6d6a77b8b5498e9190c3d35841ef39222cfec (patch)
treed01f30b88e0f35b83ac427a352ffe2eb23fc7c46 /src/leap/bitmask/gui/mainwindow.py
parent32c4ec88a0c8fab23d3685985fce0d609e12da44 (diff)
Replace twisted thread with QThread.
This fix the bug that prevents pastebin to work. Closes #5949.
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index 25bda305..1bc4c96f 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -1837,7 +1837,7 @@ class MainWindow(QtGui.QMainWindow):
if self._wizard:
self._wizard.close()
- if self._logger_window:
+ if self._logger_window is not None:
self._logger_window.close()
# Set this in case that the app is hidden