diff --git a/frontends/src/jp/cmd_file.py b/frontends/src/jp/cmd_file.py index 78d46457..fe2c3bf9 100644 --- a/frontends/src/jp/cmd_file.py +++ b/frontends/src/jp/cmd_file.py @@ -207,7 +207,7 @@ class Receive(base.CommandAnswering): self.path = os.path.abspath(self.args.path) if not os.path.isdir(self.path): self.disp(_(u"Given path is not a directory !", error=True)) - self.quit(2) + self.host.quit(2) if self.args.multiple: self.host.quit_on_progress_end = False self.disp(_(u"waiting for incoming file request"),2)