diff --git a/dlibrary.py b/dlibrary.py index 2e5019c..15d5079 100755 --- a/dlibrary.py +++ b/dlibrary.py @@ -180,7 +180,7 @@ def collate(args): if work_id in hint_map: hint = hint_map[work_id] - entries = ls_ignore(hint) if hint.is_dir() else [hint] + entries = [hint] if hint.is_file() else ls_ignore(hint) else: search_dir = work_path while True: