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

Img directory is not created on startup #23

Open
NicolasCwy opened this issue Jan 11, 2021 · 0 comments
Open

Img directory is not created on startup #23

NicolasCwy opened this issue Jan 11, 2021 · 0 comments

Comments

@NicolasCwy
Copy link
Owner

Describe the bug
FileNotFoundError: [Errno 2] No such file or directory: 'img/<picture_name>.jpg'
After sending bot a photo

To Reproduce
Steps to reproduce the behavior:

  1. Delete img directory
  2. Start bot
  3. /start
  4. Name sticker pack
  5. Send picture
  6. Crash happens

Expected behavior
Bot accepts photo and crops out background

Additional context
Bot fails to create img directory if it did not exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant