changeset 651:8abf42ff06e3

macro: PdfList typo fixed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 02 Oct 2015 11:24:32 +0200
parents cd3309f76490
children 6d10150ff905
files data/plugin/macro/PdfList.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/PdfList.py	Fri Oct 02 11:17:32 2015 +0200
+++ b/data/plugin/macro/PdfList.py	Fri Oct 02 11:24:32 2015 +0200
@@ -92,7 +92,7 @@
             try:
                 pdf_meta = {"/Title": wikiutil.escape(xmp_meta.dc_title['x-default']),
                             "/Author": wikiutil.escape(pdf_meta['/Author'])}
-            except AttributeError, KeyError:
+            except (AttributeError, KeyError):
                 pass