- minor changes to increase compatibility with Python 3.8

This commit is contained in:
Marius Stanciu
2020-04-01 18:45:20 +03:00
committed by Marius
parent d326524fe3
commit 3d39916b5f
17 changed files with 72 additions and 67 deletions

View File

@@ -504,7 +504,7 @@ class Panelize(FlatCAMTool):
obj_fin.solid_geometry = []
for option in panel_obj.options:
if option is not 'name':
if option != 'name':
try:
obj_fin.options[option] = panel_obj.options[option]
except KeyError: