From: Clarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 Date: Thu, 27 Jun 2019 08:49:07 +0000 (+0200) Subject: Correction of the recording of photos X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4090b863383f532e23829161d9766242f4bffae;p=modules%2Fgui.git Correction of the recording of photos --- diff --git a/tools/CurvePlot/src/python/views/XYView.py b/tools/CurvePlot/src/python/views/XYView.py index e327a143e..0c16df55a 100644 --- a/tools/CurvePlot/src/python/views/XYView.py +++ b/tools/CurvePlot/src/python/views/XYView.py @@ -264,7 +264,7 @@ class XYView(View): filters, trQ("DUMP_VIEW_FILE"), False ) - name = str(fileName[0]) + name = str(fileName) if name != "": self._mplAxes.figure.savefig(name) pass