diff --git a/video_prediction_tools/config_runscripts/config_utils.py b/video_prediction_tools/config_runscripts/config_utils.py
index dbdb6c39d78a3f61bc6090021052378fe120a1e5..ee51f8f896f623779e9be698aa16016d34d26cd1 100644
--- a/video_prediction_tools/config_runscripts/config_utils.py
+++ b/video_prediction_tools/config_runscripts/config_utils.py
@@ -142,7 +142,7 @@ class Config_runscript_base:
             err = ValueError("%{0}: Could not find the attribute runscript_name.".format(method_name))
         if err is None:
             if self.runscript_template is None:
-                raise ValueError("%{0}: Attribute runscript_name is still uninitialized.".format(method_name))
+                raise ValueError("%{0}: Attribute runscript_template is still uninitialized.".format(method_name))
         else:
             raise err