Salome HOME
Update copyrights 2014.
[modules/paravis.git] / test / VisuPrs / SWIG_scripts / C7.py
index 89f95bd9d04b0172be8ecac0e521e1f0f2e30060..6e755827acc7cdd2515e465dcd17c48f1a891b4d 100755 (executable)
@@ -1,9 +1,9 @@
-# Copyright (C) 2010-2013  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -108,11 +108,10 @@ add_scalar_bar(table_name, nb_components, vector_mode,
 # Reset view
 reset_view(view=view)
 
-
 # Write image
 
 # Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "SWIG_scripts/C7")
+picturedir = get_picture_dir("SWIG_scripts/C7")
 if not picturedir.endswith(os.sep):
     picturedir += os.sep