Use lower only for comparison

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2025-10-23 17:03:50 +02:00 committed by GitHub
parent 1ee701b52f
commit 7b5ca16993
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -782,8 +782,8 @@ class ProjectPushItemProcess:
self._task_info = {}
return
dst_task_name = src_task_info["name"].lower()
if dst_task_name not in folder_tasks:
dst_task_name = src_task_info["name"]
if dst_task_name.lower() not in folder_tasks:
self._make_sure_task_exists(
folder_entity, src_task_info
)