From c5fc6c6030d7d9d1b2af3d5165bebed3decd741b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Oct 2017 06:51:13 +0200 Subject: New upstream version 0.9.4 --- raphodo/problemnotification.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'raphodo/problemnotification.py') diff --git a/raphodo/problemnotification.py b/raphodo/problemnotification.py index 787b0bb..ce98490 100755 --- a/raphodo/problemnotification.py +++ b/raphodo/problemnotification.py @@ -47,6 +47,7 @@ import logging from raphodo.utilities import make_internationalized_list from raphodo.constants import ErrorType +from raphodo.camera import gphoto2_named_error def make_href(name: str, uri: str) -> str: @@ -113,7 +114,7 @@ class CameraGpProblem(SeriousProblem): @property def details(self) -> List[str]: try: - return [escape(_("GPhoto2 Error: %s")) % self.gp_code] + return [escape(_("GPhoto2 Error: %s")) % escape(gphoto2_named_error(self.gp_code))] except AttributeError: return [] -- cgit v1.2.3