From d16f064043d67e030281782c68b3cb0f0bedbcfb Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 18 Sep 2018 19:52:32 -0400 Subject: [PATCH] Fix incorrect path logic introduced in b588c87 --- korman/exporter/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/exporter/convert.py b/korman/exporter/convert.py index 1f760db..05e05dd 100644 --- a/korman/exporter/convert.py +++ b/korman/exporter/convert.py @@ -355,7 +355,7 @@ class Exporter: age = bpy.context.scene.world.plasma_age filepath = age.texcache_path try: - valid_path = not filepath or not Path(filepath).is_file() + valid_path = filepath and Path(filepath).is_file() except OSError: valid_path = False