changeset 1880:68944e270c40

jp (file): fixed bad quit call
author Goffi <goffi@goffi.org>
date Sat, 05 Mar 2016 13:17:29 +0100
parents b43ee22eac98
children 386d61abfac2
files frontends/src/jp/cmd_file.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/cmd_file.py	Sat Mar 05 13:58:02 2016 +0100
+++ b/frontends/src/jp/cmd_file.py	Sat Mar 05 13:17:29 2016 +0100
@@ -207,7 +207,7 @@
         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)