linuxsand / py_openshowvar

A Python port of KukaVarProxy client (OpenShowVar)
MIT License
34 stars 9 forks source link

Spamming due to lack of respect of "debug" argument. #3

Closed mortlind closed 2 years ago

mortlind commented 3 years ago

Methods _read_var and _write_var takes a mandatory argument debug which is then not respected in the print statements. This leads to uncontrollable spamming of the terminal output. The only thin that is missing is a if debug: conditional on the lines preceding the print statements. In version 1.1.6 the line numbers are 58 and 65.