Skip to content

Commit

Permalink
Sequence fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Sep 19, 2023
1 parent 49e7301 commit 413439b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/tlCore/FileInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 413439b

Please sign in to comment.