Oops, should be return instead of break

This commit is contained in:
Micah Lee 2020-06-30 17:31:18 -07:00
parent 25cb1c19f4
commit 5628a7282c
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -140,7 +140,7 @@ class ReceiveMode(Mode):
if self.common.gui.is_flatpak:
if not selected_dir.startswith(os.path.expanduser("~/OnionShare")):
Alert(self.common, strings._("gui_receive_flatpak_data_dir"))
break
return
self.common.log(
"ReceiveMode",