Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: two directories are created if sticker pack contains capital letters #7

Open
amozeo opened this issue Nov 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@amozeo
Copy link

amozeo commented Nov 9, 2024

Issue Details

When sticker url contains capitalized letters, two directories are created in the download directory

  • the name from the url - "containing" converted stickers
  • decapitalized name - containing downloaded tgs and webp files

While directories are created, this bug also prevents converter backend converting tgs and webp files. I believe it's because converter looks for webp and tgs directories inside directory with decapitalized names.

Steps to reproduce

Run the following commands in order:

  • tstickers -p https://t.me/addstickers/DonutTheDog
  • ls downloads

Expected Behavior

only one directory, DonutTheDog, is present

Actual Behavior

two directories, DonutTheDog and donutthedog are present

System Information

  • Operating System (OS): NixOS 24.05.git.d063c1dd113c (Uakari) x86_64
  • Project Version: 2024.1.3
@amozeo amozeo added the bug Something isn't working label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@amozeo @FredHappyface and others