Commit cb32d681 authored by Georgios Dagkakis's avatar Georgios Dagkakis

set default for wip column in case somebody changes the label

parent 2d8f9e99
......@@ -17,6 +17,7 @@ class CapacityStationWIP(plugin.InputPreparationPlugin):
"""
projectData=data['input'].get('projects_spreadsheet', None)
# find the column where the WIP is given
wipColumn=6 #default
i=0
for element in projectData[0]:
if element=='WIP':
......
......@@ -8,6 +8,7 @@ class ChangeWIPSpreadsheet(plugin.InputPreparationPlugin):
def preprocess(self, data):
projectData=data['input'].get('projects_spreadsheet', None)
# find the column where the WIP is given
wipColumn=6 #default
i=0
for element in projectData[0]:
if element=='Completed':
......@@ -15,6 +16,7 @@ class ChangeWIPSpreadsheet(plugin.InputPreparationPlugin):
projectData[0][i]='WIP'
break
i+=1
if projectData:
alreadyConsideredProjects=[]
for row in range(1, len(projectData)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment