Skip to content

Commit

Permalink
Merge pull request #2019 from jbf1212/dev/2018
Browse files Browse the repository at this point in the history
case sensitivity bug fix in Team buttons
  • Loading branch information
jmcouffin committed Dec 12, 2023
2 parents e05ec5a + 5215df5 commit d88ef4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
el.Id
)
# wti.Creator, wti.Owner, wti.LastChangedBy
if wti.Owner == HOST_APP.username:
if wti.Owner.lower() == HOST_APP.username.lower():
filteredlist.append(sheet)
print('{0}{1}'
.format(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
wti = DB.WorksharingUtils.GetWorksharingTooltipInfo(revit.doc,
el.Id)
# wti.Creator, wti.Owner, wti.LastChangedBy
if wti.LastChangedBy == HOST_APP.username:
if wti.LastChangedBy.lower() == HOST_APP.username.lower():
owned_by_me.append(el.Id)
selection.set_to(owned_by_me)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
wti = DB.WorksharingUtils.GetWorksharingTooltipInfo(revit.doc,
el.Id)
# wti.Creator, wti.Owner, wti.LastChangedBy
if wti.Owner == HOST_APP.username:
if wti.Owner.lower() == HOST_APP.username.lower():
owned_by_me.append(el.Id)
selection.set_to(owned_by_me)
else:
Expand Down

0 comments on commit d88ef4f

Please sign in to comment.