Oops, should be return instead of break

This commit is contained in:
Micah Lee 2020-06-30 17:31:18 -07:00
parent a3288e4a69
commit 2d282a2efd

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",