summaryrefslogtreecommitdiff
path: root/onionshare_gui
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2018-10-17 10:47:55 +1100
committerMiguel Jacq <mig@mig5.net>2018-10-17 10:47:55 +1100
commit386a8c5a2d54b21210a7f9b11d3beae768d62d3a (patch)
tree34985933f3e2d2d086e26d85c56a7c7d626b5eb5 /onionshare_gui
parent48654895eaac36754096d75d4de18330bf28337f (diff)
downloadonionshare-386a8c5a2d54b21210a7f9b11d3beae768d62d3a.tar.gz
onionshare-386a8c5a2d54b21210a7f9b11d3beae768d62d3a.zip
Fix call to Alert() when an autostop timer has run out before starting the share
Diffstat (limited to 'onionshare_gui')
-rw-r--r--onionshare_gui/server_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py
index b86155f0..e34a3d16 100644
--- a/onionshare_gui/server_status.py
+++ b/onionshare_gui/server_status.py
@@ -269,7 +269,7 @@ class ServerStatus(QtWidgets.QWidget):
self.timeout = self.shutdown_timeout.dateTime().toPyDateTime().replace(second=0, microsecond=0)
# If the timeout has actually passed already before the user hit Start, refuse to start the server.
if QtCore.QDateTime.currentDateTime().toPyDateTime() > self.timeout:
- Alert(self.common, strings._('gui_server_timeout_expired', QtWidgets.QMessageBox.Warning))
+ Alert(self.common, strings._('gui_server_timeout_expired'), QtWidgets.QMessageBox.Warning)
else:
self.start_server()
else: