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

Статистика не отправляется #4

Open
Xewus opened this issue Sep 18, 2022 · 1 comment
Open

Статистика не отправляется #4

Xewus opened this issue Sep 18, 2022 · 1 comment

Comments

@Xewus
Copy link

Xewus commented Sep 18, 2022

When it is written in the settings
BASE_DIR = Path(__file__).resolve().parent.parent
the extension does not send statistics to the API.
Even if it is written in another module and then imported into the settings.

But this works OK if write
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

@ronaldokun
Copy link

Yes, I stumbled upon the same thing. If you use the pathlib module anywhere in the settings it's not sending statistics to the API.

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

2 participants