Mercurial > libervia-backend
comparison frontends/src/jp/cmd_file.py @ 1880:68944e270c40
jp (file): fixed bad quit call
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 05 Mar 2016 13:17:29 +0100 |
parents | 96ba685162f6 |
children | 3e168cde7a7d |
comparison
equal
deleted
inserted
replaced
1879:b43ee22eac98 | 1880:68944e270c40 |
---|---|
205 def start(self): | 205 def start(self): |
206 self.bare_jids = [jid.JID(jid_).bare for jid_ in self.args.jids] | 206 self.bare_jids = [jid.JID(jid_).bare for jid_ in self.args.jids] |
207 self.path = os.path.abspath(self.args.path) | 207 self.path = os.path.abspath(self.args.path) |
208 if not os.path.isdir(self.path): | 208 if not os.path.isdir(self.path): |
209 self.disp(_(u"Given path is not a directory !", error=True)) | 209 self.disp(_(u"Given path is not a directory !", error=True)) |
210 self.quit(2) | 210 self.host.quit(2) |
211 if self.args.multiple: | 211 if self.args.multiple: |
212 self.host.quit_on_progress_end = False | 212 self.host.quit_on_progress_end = False |
213 self.disp(_(u"waiting for incoming file request"),2) | 213 self.disp(_(u"waiting for incoming file request"),2) |
214 | 214 |
215 | 215 |