From 413439b470e337be5451db0ab3b91dd498fea3a3 Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Tue, 19 Sep 2023 10:14:47 -0700 Subject: [PATCH] Sequence fix --- lib/tlCore/FileInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tlCore/FileInfo.cpp b/lib/tlCore/FileInfo.cpp index 2b7328115..cec66b6ea 100644 --- a/lib/tlCore/FileInfo.cpp +++ b/lib/tlCore/FileInfo.cpp @@ -103,7 +103,9 @@ namespace tl const Path p(path, fileName); const FileInfo f(p); bool sequence = false; - if (options.sequence && !p.getNumber().empty()) + if (options.sequence && + !p.getNumber().empty() && + f.getType() != Type::Directory) { for (auto& i : out) {