Fix typo that was stopping everything
This commit is contained in:
parent
bd9c06e9b9
commit
d3af86c8ea
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ for preferred, alternatives in compound_project_tasks.items():
|
||||||
|
|
||||||
# If a compound project was specified, break that out into a sub-project (in
|
# If a compound project was specified, break that out into a sub-project (in
|
||||||
# Harvest, we use Task, which is really task type, for this.
|
# Harvest, we use Task, which is really task type, for this.
|
||||||
timelog['subproject'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(': ', 1).str[1], None))
|
timelog['subproject'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(' — ', 1).str[1], None))
|
||||||
timelog['project'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(': ', 1).str[0], timelog['project']))
|
timelog['project'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(' — ', 1).str[0], timelog['project']))
|
||||||
|
|
||||||
# Replace irregular-but-known project names with ones timetracking tools use.
|
# Replace irregular-but-known project names with ones timetracking tools use.
|
||||||
harvest_project_names = {
|
harvest_project_names = {
|
||||||
|
|
Loading…
Reference in a new issue