Mercurial > libervia-backend
diff sat_frontends/jp/cmd_avatar.py @ 3573:813595f88612
merge changes from main branch
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 17 Jun 2021 13:05:58 +0200 |
parents | 04283582966f |
children | 82e616b70a2a |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_avatar.py Thu Jun 03 15:21:43 2021 +0200 +++ b/sat_frontends/jp/cmd_avatar.py Thu Jun 17 13:05:58 2021 +0200 @@ -113,7 +113,7 @@ async def start(self): path = self.args.image_path if not os.path.exists(path): - self.disp(_(f"file {path!r} doesn't exist!"), error=True) + self.disp(_("file {path} doesn't exist!").format(path=repr(path)), error=True) self.host.quit(C.EXIT_BAD_ARG) path = os.path.abspath(path) try: