Skip to content

Commit

Permalink
Update PreFirstCreate
Browse files Browse the repository at this point in the history
Fix Python3 Errors Part 11.
  • Loading branch information
LucaScheller authored Aug 19, 2021
1 parent ca9f07c commit f97fc7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def force_guide_playback_hide_callback(event_type,event_frame):
def force_guide_playback_hide_callback_add():
# Check for existing callbacks as safety
callbacks = hou.playbar.eventCallbacks()
callbacks = filter(lambda x: x.__name__ == LYNX_force_general_guide_playback_hide_variable,callbacks)
callbacks = [f for f in callbacks if f.__name__ == LYNX_force_general_guide_playback_hide_variable]
if(len(callbacks)>0): return

hou.hscript("setenv "+LYNX_force_general_guide_playback_hide_variable+" = 1")
Expand Down

0 comments on commit f97fc7e

Please sign in to comment.