From 233d760b6b3756b740895e843bcbd1859202c859 Mon Sep 17 00:00:00 2001 From: Daniel Wood Date: Wed, 22 Apr 2020 19:36:24 +0100 Subject: [PATCH] remove debug print --- src/Mod/Path/PathScripts/PathOp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathOp.py b/src/Mod/Path/PathScripts/PathOp.py index c6c1f82b8b..97a8f0fa19 100644 --- a/src/Mod/Path/PathScripts/PathOp.py +++ b/src/Mod/Path/PathScripts/PathOp.py @@ -231,7 +231,7 @@ class ObjectOp(object): if not hasattr(obj, 'CycleTime'): obj.addProperty("App::PropertyString", "CycleTime", "Path", QtCore.QT_TRANSLATE_NOOP("PathOp", "Operations Cycle Time Estimation")) - + self.setEditorModes(obj, features) self.opOnDocumentRestored(obj) @@ -556,8 +556,7 @@ class ObjectOp(object): if not seconds: return translate('PathGui', 'Cycletime Error') - - print('cycleTime:', seconds) + ## convert the cycle time to a HH:MM:SS format cycleTime = time.strftime("%H:%M:%S", time.gmtime(seconds))