mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-20 07:10:35 -04:00
Oops, should be return instead of break
This commit is contained in:
parent
a3288e4a69
commit
2d282a2efd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue