iamkubi / pydactyl

Python wrapper for the Pterodactyl Panel API
MIT License
67 stars 21 forks source link

debug=False is not working when creating a PterodactylClient() #79

Closed leadvic closed 10 months ago

leadvic commented 11 months ago

Describe the bug When creating a PterodactylClient(), there is no way to avoid debug messages

To Reproduce Just do:

app_api = PterodactylClient('https://why', 'broken', debug=False)
app_api.servers.list_servers(includes=('egg', 'nest'))

and you will realize that it doesn't make any difference when debug=True or False.

Expected behavior After setting debug=False I expected to see no DEBUG output.

Environment