Approve the textbooks directly.
--- a/scripts/generate_tasks_from_csv.py Thu Jan 20 06:12:25 2011 +0530
+++ b/scripts/generate_tasks_from_csv.py Thu Jan 20 06:12:57 2011 +0530
@@ -45,7 +45,7 @@
textbooks = []
for line in csv_obj:
- if len(line) == 2:
+ if len(line) == 2 and line[0]:
sep = ' by '
else:
sep = ''
@@ -55,6 +55,7 @@
'desc': '(To be filled in by the Coordinator or the T/A.)',
'tags_field': ', '. join(['Textbook', branch_name, line[1]]),
'pynts': 10,
+ 'status': 'Open',
})
return textbooks