diff --git a/lib/cdist/core/type.py b/lib/cdist/core/type.py
index 678120aa..02648b76 100644
--- a/lib/cdist/core/type.py
+++ b/lib/cdist/core/type.py
@@ -31,7 +31,7 @@ class NoSuchTypeError(cdist.Error):
         self.type_absolute_path = type_absolute_path
 
     def __str__(self):
-        return "Type '%' does not exist at %s" % (self.type_path, self.type_absolute_path)
+        return "Type '%s' does not exist at %s" % (self.type_path, self.type_absolute_path)
 
 
 class Type(object):