mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Use is not operator rather than not ... is
This is advocated by both PEP8 and the Google Python Style Guide
This commit is contained in:
parent
0f0815efab
commit
72751b2507
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ class X3DReader(MeshReader):
|
||||||
|
|
||||||
if scale:
|
if scale:
|
||||||
mscale = scale[i] if len(scale) > 1 else scale[0]
|
mscale = scale[i] if len(scale) > 1 else scale[0]
|
||||||
if not mscale is None:
|
if mscale is not None:
|
||||||
m = m.dot(mscale)
|
m = m.dot(mscale)
|
||||||
|
|
||||||
# First the cross-section 2-vector is scaled,
|
# First the cross-section 2-vector is scaled,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue