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

Avoiding products_url in conf_env.yaml or leaving it empty leads to issues #684

Open
dsavchenko opened this issue May 27, 2024 · 0 comments

Comments

@dsavchenko
Copy link
Member

E.g.

query_out.set_api_code(par_dic, url=back_end_query.config.products_url + "/dispatch-data")
will lead "NoneType + str" exception.

Proposed solution is to set it to empty string if None here

products_url = disp_dict.get('products_url', None)

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