diff options
-rw-r--r-- | combox/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/combox/file.py b/combox/file.py index 1e680c6..fe5c58e 100644 --- a/combox/file.py +++ b/combox/file.py @@ -54,7 +54,7 @@ def cb_path(node_path, config): Returns abs. path of file (in combox dir.) given the node_path. """ - if path.isfile(node_path): + if node_path[:-1].endswith('shard'): # partition function is used to remove the `.shard.N' from the # file name. rel_file_path = relative_path(node_path, |