summaryrefslogtreecommitdiff
path: root/onionshare_gui
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-10-16 22:16:35 -0700
committerGitHub <noreply@github.com>2018-10-16 22:16:35 -0700
commit9812e75495584a6f3ee95bc459cb495ae7126619 (patch)
treea31bbdd9eea3e38c7cc20302455fe1f0d64edd81 /onionshare_gui
parent42efff275f0c831478b7cca61124b29cb16e1e59 (diff)
parent386a8c5a2d54b21210a7f9b11d3beae768d62d3a (diff)
downloadonionshare-9812e75495584a6f3ee95bc459cb495ae7126619.tar.gz
onionshare-9812e75495584a6f3ee95bc459cb495ae7126619.zip
Merge pull request #810 from mig5/fix_timer_alert
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: