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

Fix path in cores #27

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Fix path in cores #27

merged 2 commits into from
Sep 27, 2023

Conversation

andrew000
Copy link
Contributor

If path is not absolute - _extract_locales() will not find locales in folder, because os.listdir() / path.iterdir() yields dirs/files with parents.

✅ Fixed

If `path` is not absolute - `_extract_locales()` will not find locales in folder, because `os.listdir()` / `path.iterdir()` yields dirs/files with parents.

✅ Fixed
Remove join path in _extract_locales() while searching locales
Remove making absolute paths
@RootShinobi RootShinobi merged commit 72f34c3 into aiogram:dev Sep 27, 2023
18 checks passed
@andrew000 andrew000 deleted the patch-3 branch September 27, 2023 18:10
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

Successfully merging this pull request may close these issues.

2 participants