Skip to content

Commit

Permalink
HOTFIX: rendoc_botsender were send pdf as 'Foto' document
Browse files Browse the repository at this point in the history
  • Loading branch information
decimo3 committed Jan 17, 2025
1 parent 808e067 commit 2802a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static void PrepararArquivos(WebDriver driver, String diretorio)
while (true)
{
fotos = Directory.GetFiles(diretorio).Where(
f => (Path.GetExtension(f) == ".jpeg" || Path.GetExtension(f) == ".pdf")
f => (Path.GetExtension(f) == ".jpeg" || Path.GetExtension(f) == ".jpg")
&& !Path.GetFileNameWithoutExtension(f).Contains(".send")).ToList();
if (fotos.Any())
{
Expand Down

0 comments on commit 2802a2a

Please sign in to comment.