jminardi / mecode

GCode for all
MIT License
221 stars 61 forks source link

Some error using the library on python 3.8.2 #72

Open onekk opened 4 years ago

onekk commented 4 years ago

mecode/main.py:1067: SyntaxWarning: "is not" with a literal. Did you mean "!="? if self.x_axis is not 'X' and x is not None: mecode/main.py:1069: SyntaxWarning: "is not" with a literal. Did you mean "!="? if self.y_axis is not 'Y' and y is not None: mecode/main.py:1071: SyntaxWarning: "is not" with a literal. Did you mean "!="? if self.z_axis is not 'Z' and z is not None:

I have to substitute the is not with != for python 3.8.2

Regards

Carlo D.