diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-10-02 06:52:34 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-10-02 06:52:34 +0200 |
| commit | 513be823a8729f783995bea495273a19cd0d2bbf (patch) | |
| tree | e0d7e1ffdb1ea25163e84f45108591497d480bee /raphodo/problemnotification.py | |
| parent | b0583b33e83be9cca6369d980eb82dee3a907c28 (diff) | |
| parent | c5fc6c6030d7d9d1b2af3d5165bebed3decd741b (diff) | |
Updated version 0.9.4 from 'upstream/0.9.4'
with Debian dir 31043f20abb0a924130b658a2ff3b5cbcbf689d9
Diffstat (limited to 'raphodo/problemnotification.py')
| -rwxr-xr-x | raphodo/problemnotification.py | 3 |
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 [] |
