summaryrefslogtreecommitdiff
path: root/raphodo/problemnotification.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-02 06:51:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-02 06:51:13 +0200
commitc5fc6c6030d7d9d1b2af3d5165bebed3decd741b (patch)
treedfacccc9ae0747e53e53e5388b2ecd0623e040c3 /raphodo/problemnotification.py
parent77dd64c0757c0191b276e65c24ee9874959790c8 (diff)
New upstream version 0.9.4upstream/0.9.4
Diffstat (limited to 'raphodo/problemnotification.py')
-rwxr-xr-xraphodo/problemnotification.py3
1 files changed, 2 insertions, 1 deletions
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 []