This commit is contained in:
Petr Kalis 2021-03-16 12:26:44 +01:00
parent b35d8d3a92
commit b138bdd202
2 changed files with 1 additions and 3 deletions

View file

@ -1171,5 +1171,3 @@ def change_timer_to_current_context():
}
requests.post(rest_api_url, json=data)

View file

@ -106,7 +106,7 @@ class TimersManager(PypeModule, ITrayService, IIdleManager, IWebServerRoutes):
try:
task_type = asset_doc["data"]["tasks"][task_name]["type"]
except KeyError:
self.log.warning("Couldn't find task_type for {}".\
self.log.warning("Couldn't find task_type for {}".
format(task_name))
hierarchy = asset_doc["data"]["hierarchy"].split("\\")