From 7af4debad5e4410795b855bb212b1aa0dfd134bc Mon Sep 17 00:00:00 2001 From: wijnand Date: Fri, 6 Jul 2018 11:58:38 +0200 Subject: [PATCH] simplified method --- colorbleed/plugins/maya/load/actions.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/colorbleed/plugins/maya/load/actions.py b/colorbleed/plugins/maya/load/actions.py index 53aa426aa3..f255a2fe9f 100644 --- a/colorbleed/plugins/maya/load/actions.py +++ b/colorbleed/plugins/maya/load/actions.py @@ -144,7 +144,4 @@ class ImportMayaLoader(api.Loader): buttons=buttons, defaultButton=accept) - if state != accept: - return False - - return True + return state == accept \ No newline at end of file