From 80ec97baaaf7b475266e0e7eb3da62ca84ac39da Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 31 Mar 2016 16:11:19 -0700 Subject: [PATCH] allow for more types in "living" proxy --- gramps/gen/proxy/living.py | 2 +- gramps/plugins/webreport/narrativeweb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/proxy/living.py b/gramps/gen/proxy/living.py index db035beef..9c0512525 100644 --- a/gramps/gen/proxy/living.py +++ b/gramps/gen/proxy/living.py @@ -47,7 +47,7 @@ class LivingProxyDb(ProxyDbBase): MODE_EXCLUDE_ALL = 0 MODE_INCLUDE_LAST_NAME_ONLY = 1 MODE_INCLUDE_FULL_NAME_ONLY = 2 - MODE_INCLUDE_ALL = 3 # typically this will be only tested for, not invoked + MODE_INCLUDE_ALL = 99 # usually this will be only tested for, not invoked def __init__(self, dbase, mode, current_year=None, years_after_death=0): """ diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 315286c73..d12f1e6a3 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -419,7 +419,7 @@ _KEYPERSON, _KEYPLACE, _KEYEVENT, _ALPHAEVENT = 0, 1, 2, 3 # Web page filename extensions _WEB_EXT = ['.html', '.htm', '.shtml', '.php', '.php3', '.cgi'] -_INCLUDE_LIVING_VALUE = 99 # Arbitrary number +_INCLUDE_LIVING_VALUE = LivingProxyDb.MODE_INCLUDE_ALL _NAME_COL = 3 _DEFAULT_MAX_IMG_WIDTH = 800 # resize images that are wider than this (settable in options)