From 85cf9b728e5e5cae6218a12ad2840527a303aaa6 Mon Sep 17 00:00:00 2001 From: Simone Barbieri Date: Tue, 23 Jun 2020 12:56:05 +0100 Subject: [PATCH] Pep8 compliance --- pype/plugins/blender/load/load_camera.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pype/plugins/blender/load/load_camera.py b/pype/plugins/blender/load/load_camera.py index a69c01e806..7fd8f94b4e 100644 --- a/pype/plugins/blender/load/load_camera.py +++ b/pype/plugins/blender/load/load_camera.py @@ -60,8 +60,6 @@ class BlendCameraLoader(pype.hosts.blender.plugin.AssetLoader): avalon_info = obj[blender.pipeline.AVALON_PROPERTY] avalon_info.update({"container_name": container_name}) - - if actions[0] is not None: if obj.animation_data is None: obj.animation_data_create() @@ -192,7 +190,7 @@ class BlendCameraLoader(pype.hosts.blender.plugin.AssetLoader): camera = objects[0] - actions = ( camera.animation_data.action, camera.data.animation_data.action ) + actions = (camera.animation_data.action, camera.data.animation_data.action) self._remove(objects, lib_container)