From e1b59ec07a8a221bf08e4ab4ab7b549e4163d1e1 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Sat, 22 Aug 2009 22:19:37 +1200 Subject: [PATCH] license is now a list of definite items, not a freeform field --- objavi2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objavi2.py b/objavi2.py index f621bc2..638a992 100755 --- a/objavi2.py +++ b/objavi2.py @@ -61,7 +61,7 @@ ARG_VALIDATORS = { "title": lambda x: len(x) < 999, #"header": None, # header text, UNUSED "isbn": is_isbn, - "license": lambda x: len(x) < 999, #should be a codename? + "license": config.LICENSES.__contains__, "server": SERVER_DEFAULTS.__contains__, "engine": config.ENGINES.__contains__, "booksize": config.PAGE_SIZE_DATA.__contains__, -- 2.11.4.GIT