jp (file): fixed bad quit call

This commit is contained in:
Goffi 2016-03-05 13:17:29 +01:00
commit 75d78137ab

View file

@ -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)