Salome HOME
updated copyright message
[modules/shaper.git] / src / PythonAddons / macros / importParameters / feature.py
old mode 100644 (file)
new mode 100755 (executable)
index b983661..19581ee
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -56,7 +56,7 @@ class importParameters(model.Feature):
     def initAttributes(self):
         """Override Feature.initAttributes()"""
         # Creating the input argument of the feature
-        self.data().addAttribute(self.FILE_ID(), ModelAPI.ModelAPI_AttributeString_typeId())
+        self.data().addAttribute(self.FILE_ID(), ModelAPI.ModelAPI_AttributeString.typeId())
 
 
 # Get existing parameters names