allow for more types in "living" proxy

This commit is contained in:
Paul Franklin 2016-03-31 16:11:19 -07:00
parent 2f608f67e6
commit 80ec97baaa
2 changed files with 2 additions and 2 deletions

View File

@ -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):
"""

View File

@ -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)