From 4ed7665b13999b15509524e2c2ea0c4a848e7e00 Mon Sep 17 00:00:00 2001 From: ci4ic4 Date: Wed, 27 Jan 2021 11:51:42 +0000 Subject: [PATCH] Update philips_post.py You can't compare dict with an integer. --- src/Mod/Path/PathScripts/post/philips_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/post/philips_post.py b/src/Mod/Path/PathScripts/post/philips_post.py index 41203ef075..f06d2d666d 100644 --- a/src/Mod/Path/PathScripts/post/philips_post.py +++ b/src/Mod/Path/PathScripts/post/philips_post.py @@ -384,7 +384,7 @@ def export(objectslist, filename, argstring): # #\better: append iff MODAL == False # if command == lastcommand: # outstring.pop(0) - if c.Parameters >= 1: + if len(c.Parameters) >= 1: for param in params: # test print("param: " + param + ", command: " + command) if param in c.Parameters: