diff --git a/openpype/hosts/flame/api/lib.py b/openpype/hosts/flame/api/lib.py index 800afebf41..c76d944e90 100644 --- a/openpype/hosts/flame/api/lib.py +++ b/openpype/hosts/flame/api/lib.py @@ -677,7 +677,6 @@ def get_frame_from_path(path): return None - @contextlib.contextmanager def maintained_object_duplication(item): """Maintain input item duplication diff --git a/openpype/hosts/flame/api/render_utils.py b/openpype/hosts/flame/api/render_utils.py index 1cc94f6548..f8dbfe2025 100644 --- a/openpype/hosts/flame/api/render_utils.py +++ b/openpype/hosts/flame/api/render_utils.py @@ -63,7 +63,7 @@ def export_clip(export_path, clip, preset_path, **kwargs): def get_preset_path_by_xml_name(xml_preset_name): def _search_path(root): output = [] - for root, dirs, files in os.walk(root): + for root, _dirs, files in os.walk(root): for f in files: if f != xml_preset_name: continue