chiark / gitweb /
Fix pyserial 3.0 compatibility issue
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 6 Jan 2016 19:06:05 +0000 (14:06 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 6 Jan 2016 19:06:05 +0000 (14:06 -0500)
commit5896100421a2c928f71085b01124888b07abe665
tree553da323b7f06b34e19605f2bd60477ef9e446b3
parent0c13d68da4b2c0a19d2e388eab945f3f772f7c7f
Fix pyserial 3.0 compatibility issue

The pyserial 3.0 changed the Serial parameter writeTimeout into
write_timeout, which breaks the code. They have a fix planned for
a soon-to-be-released version, but since it's a deprecated argument
anyway, it's best not to use in order to stay future-proof, and also
in case someone installs the 3.0 version itself.
This fixes T355
Cura/avr_isp/stk500v2.py
Cura/util/machineCom.py