From f297814da216e5571a36e93b73eb2356a475e7ad Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 30 Sep 2014 10:55:25 -0500 Subject: [PATCH] Fix for category vs categories - eFiction Base --- fanficdownloader/adapters/base_efiction_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficdownloader/adapters/base_efiction_adapter.py b/fanficdownloader/adapters/base_efiction_adapter.py index 118fded9..f663f2be 100644 --- a/fanficdownloader/adapters/base_efiction_adapter.py +++ b/fanficdownloader/adapters/base_efiction_adapter.py @@ -281,7 +281,7 @@ class BaseEfictionAdapter(BaseSiteAdapter): self.story.addToList('characters', val) elif 'Categories' in key: for val in re.split("\s*,\s*", value): - self.story.addToList('categories', val) + self.story.addToList('category', val) elif 'Challenges' in key: for val in re.split("\s*,\s*", value): # TODO this should be an official field I guess