diff --git a/openpype/plugins/publish/collect_frame_range_asset_entity.py b/openpype/plugins/publish/collect_frame_range_asset_entity.py index 2f7570466c..67e7444173 100644 --- a/openpype/plugins/publish/collect_frame_range_asset_entity.py +++ b/openpype/plugins/publish/collect_frame_range_asset_entity.py @@ -3,7 +3,7 @@ from openpype.pipeline import OptionalPyblishPluginMixin class CollectFrameDataFromAssetEntity(pyblish.api.InstancePlugin, - OptionalPyblishPluginMixin): + OptionalPyblishPluginMixin): """Collect Frame Range data From Asset Entity """ diff --git a/openpype/plugins/publish/collect_sequence_frame_data.py b/openpype/plugins/publish/collect_sequence_frame_data.py index 5b5c427d9e..0b6c69bd5f 100644 --- a/openpype/plugins/publish/collect_sequence_frame_data.py +++ b/openpype/plugins/publish/collect_sequence_frame_data.py @@ -16,11 +16,10 @@ class CollectSequenceFrameData(pyblish.api.InstancePlugin): def process(self, instance): frame_data = self.get_frame_data_from_repre_sequence(instance) for key, value in frame_data.items(): - if key not in instance.data : + if key not in instance.data: instance.data[key] = value self.log.debug(f"Frame range data {key} has been collected ") - def get_frame_data_from_repre_sequence(self, instance): repres = instance.data.get("representations") if repres: