X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FConnectorPlugin%2FConnectorPlugin_ExportFeature.py;h=b529eac7331c06227617369d2988bc853a0183c0;hb=b303db5dadecd329d1b9749110dd08ebff2294ab;hp=b5d42602bdee9680dcb9dabfbe213faf69c10096;hpb=844220fef6e3d006be674b807099bb55f7183c0b;p=modules%2Fshaper.git diff --git a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py index b5d42602b..b529eac73 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py @@ -36,6 +36,8 @@ def getTmpFileName(ext): tempdir = tempfile.gettempdir() tmp_file = tempfile.NamedTemporaryFile(suffix=".%s"%ext, prefix='shaper_', dir=tempdir, delete=False) tmp_filename = tmp_file.name + if os.name == "nt": + tmp_filename.replace("\\", "/") return tmp_filename ## @ingroup Plugins