From 0b7ce6857130bfc00c7f56ef148cecc87b016817 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Sat, 21 Jul 2018 13:21:28 +0200 Subject: [PATCH] Fix bug in code so it actually checks whether path is absolute --- colorbleed/scripts/fusion_switch_shot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorbleed/scripts/fusion_switch_shot.py b/colorbleed/scripts/fusion_switch_shot.py index 07bbafa057..5fcfa638d6 100644 --- a/colorbleed/scripts/fusion_switch_shot.py +++ b/colorbleed/scripts/fusion_switch_shot.py @@ -158,7 +158,7 @@ def switch(asset_name, filepath=None, new=True): """ # Ensure filename is absolute - if not os.path.abspath(filepath): + if not os.path.isabs(filepath): filepath = os.path.abspath(filepath) # Get current project