UlionTse / translators

🌏🌍🌎Translators🌎🌍🌏 is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
https://pypi.org/project/translators/
GNU General Public License v3.0
1.62k stars 189 forks source link

[Bug]: "Using region <name> server backend." printed on stdout #147

Closed ManuelSchneid3r closed 9 months ago

ManuelSchneid3r commented 10 months ago

Debug Tips

What happened?

This message is printed to stdout. Since this is a library it should be quiet unless i tell it to be verbose.

This makes problems in my app where I use logging categories. If users pass --quiet only warning and above are printed.

This library prints this message though

APP Version

happens on all recent versoins

Python Version

3.11

Runtime Environment

Linux Ubuntu

Country/Region

germany

Relevant log output

No response

Screenshots

No response

Code of Conduct

UlionTse commented 9 months ago

@ManuelSchneid3r pip install --upgrade translators==5.8.9