changeset 5793:1e5d9851f5c5

googleimport: task may have multiple types, so better use 'Types' as key
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 18 Nov 2011 00:17:44 +0100
parents 89882824b375
children 00f1ec630fe0
files contrib/googleimport/driver.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/googleimport/driver.py	Wed Aug 03 00:07:16 2011 +0200
+++ b/contrib/googleimport/driver.py	Fri Nov 18 00:17:44 2011 +0100
@@ -111,7 +111,7 @@
                 hours = int(find_dict_entry("Duration", page_contents))
                 mentors = find_dict_entry("Mentors", page_contents)
                 difficulty = find_dict_entry("Difficulty", page_contents)
-                types = find_dict_entry("Type", page_contents)
+                types = find_dict_entry("Types", page_contents)
             except (DataNotFoundException, ValueError), e:
                 print >>sys.stderr, "Could not import %r because of %r" % (page, e)
                 continue