mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 15:29:42 -05:00
Oops, should be return instead of break
This commit is contained in:
parent
25cb1c19f4
commit
5628a7282c
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user