mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Hiero: rolled back py3 compatible code make it py27 working
This commit is contained in:
parent
87182f5a3e
commit
5d6ce5592d
1 changed files with 3 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ def get_track_items(
|
|||
|
||||
# get selected track items or all in active sequence
|
||||
if selection:
|
||||
with contextlib.suppress(AttributeError):
|
||||
try:
|
||||
for track_item in selection:
|
||||
log.info("___ track_item: {}".format(track_item))
|
||||
# make sure only trackitems are selected
|
||||
|
|
@ -188,6 +188,8 @@ def get_track_items(
|
|||
):
|
||||
log.info("___ valid trackitem: {}".format(track_item))
|
||||
return_list.append(track_item)
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
# collect all available active sequence track items
|
||||
if not return_list:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue