From 50af88ebde9795d5392e1fac05a655bbd569b245 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Fri, 4 Mar 2016 17:07:36 -0800 Subject: [PATCH] switch to os.path.exists(), prep for chunked is own subdir --- tldp/outputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tldp/outputs.py b/tldp/outputs.py index cb65487..b8d91f9 100644 --- a/tldp/outputs.py +++ b/tldp/outputs.py @@ -70,7 +70,7 @@ class OutputNamingConvention(object): for prop in self.expected: name = getattr(self, prop, None) assert name is not None - present.append(os.path.isfile(name)) + present.append(os.path.exists(name)) return all(present) @property