diff --git a/beat/core/library.py b/beat/core/library.py index 3a9b7cc7dbbc684d163c70d0644c0af6b4cf271e..b575bd8eb3dfc867f828537885dc1a8cfc99a82a 100644 --- a/beat/core/library.py +++ b/beat/core/library.py @@ -147,7 +147,7 @@ class Library(BackendLibrary): # At this point, `data' can be a dictionary or ``None`` if data is None: # loads the default declaration for an library self.data, self.errors = prototypes.load("library") - assert not self.errors, "\n * %s" % "\n *".join(self.errors) + assert not self.errors, "\n * %s" % "\n *".join(self.errors) # nosec else: # just assign it # this runs basic validation, including JSON loading if required self.data, self.errors = schema.validate("library", data)