diff --git a/plugins/SideFX/Houdini/otls/LYNX_force.hda/LYNX_8_8Dop_1LYNX__force__general_8_81.3/PostLastDelete b/plugins/SideFX/Houdini/otls/LYNX_force.hda/LYNX_8_8Dop_1LYNX__force__general_8_81.3/PostLastDelete index 5ff66f7..7af9bb7 100644 --- a/plugins/SideFX/Houdini/otls/LYNX_force.hda/LYNX_8_8Dop_1LYNX__force__general_8_81.3/PostLastDelete +++ b/plugins/SideFX/Houdini/otls/LYNX_force.hda/LYNX_8_8Dop_1LYNX__force__general_8_81.3/PostLastDelete @@ -2,10 +2,10 @@ LYNX_force_general_guide_playback_hide_variable = "LYNX_force_general_guide_play def force_guide_playback_hide_callback_remove(): 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] callback_function = callbacks[0] hou.playbar.removeEventCallback(callback_function) hou.hscript("setenv -u "+LYNX_force_general_guide_playback_hide_variable) -force_guide_playback_hide_callback_remove() \ No newline at end of file +force_guide_playback_hide_callback_remove()