Python: remove redundant len() use
[blender.git] / release / scripts / startup / bl_ui / space_sequencer.py
index 94173055c0d6e8df0e9dab7de575fa87ff7730ee..823aa2acf8976d9354da3b8bd9b5d3fdd9ccd7cf 100644 (file)
@@ -955,7 +955,7 @@ class SEQUENCER_PT_modifiers(SequencerButtonsPanel, Panel):
 
                 if mod.input_mask_type == 'STRIP':
                     sequences_object = sequencer
-                    if len(sequencer.meta_stack):
+                    if sequencer.meta_stack:
                         sequences_object = sequencer.meta_stack[-1]
                     box.prop_search(mod, "input_mask_strip", sequences_object, "sequences", text="Mask")
                 else: