mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
few comments added
This commit is contained in:
parent
22ffd273f1
commit
da67d42512
1 changed files with 2 additions and 0 deletions
|
|
@ -173,10 +173,12 @@ class ClockifyModule:
|
|||
actual_timer_hierarchy = actual_timer.get("description")
|
||||
actual_project_id = actual_timer.get("projectId")
|
||||
|
||||
# Concatenate hierarchy and task to get description
|
||||
desc_items = [val for val in input_data.get("hierarchy", [])]
|
||||
desc_items.append(input_data["task_name"])
|
||||
description = "/".join(desc_items)
|
||||
|
||||
# Check project existence
|
||||
project_name = input_data["project_name"]
|
||||
project_id = self.clockapi.get_project_id(project_name)
|
||||
if not project_id:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue