stlehmann / pyads

Python wrapper for TwinCAT ADS
MIT License
252 stars 93 forks source link

Improve net id validation when using Connection class if int is passed in #332

Open chrisbeardy opened 1 year ago

chrisbeardy commented 1 year ago

If an integer is passed in as net id to the connection class, it produces an AttributeError and not the ValueError(no valid netid).