From aa2acd9d6f4bbec6e242c77d0c6522cd7b48a168 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 10 Sep 2019 11:43:28 +0200 Subject: [PATCH] FEM: utils, do not check for unique path --- src/Mod/Fem/femtools/femutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Fem/femtools/femutils.py b/src/Mod/Fem/femtools/femutils.py index a1948770e3..c1304990c0 100644 --- a/src/Mod/Fem/femtools/femutils.py +++ b/src/Mod/Fem/femtools/femutils.py @@ -32,7 +32,7 @@ import sys import FreeCAD from femsolver import settings -from femsolver.run import _getUniquePath as getUniquePath +# from femsolver.run import _getUniquePath as getUniquePath if FreeCAD.GuiUp: import FreeCADGui from PySide import QtGui @@ -165,7 +165,7 @@ def get_temp_dir(obj=None): def get_beside_dir(obj): base = get_beside_base(obj) specific_path = os.path.join(base, obj.Label) - specific_path = getUniquePath(specific_path) + # specific_path = getUniquePath(specific_path) if not os.path.isdir(specific_path): os.makedirs(specific_path) return specific_path @@ -175,7 +175,7 @@ def get_custom_dir(obj): base = get_custom_base(obj) specific_path = os.path.join( base, obj.Document.Name, obj.Label) - specific_path = getUniquePath(specific_path) + # specific_path = getUniquePath(specific_path) if not os.path.isdir(specific_path): os.makedirs(specific_path) return specific_path