From 6fce49ae1bd126adb5ca7e0d8d40d2e1da328f35 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 28 Dec 2015 12:23:16 +0100 Subject: [PATCH] Fix type error --- patacrep/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patacrep/build.py b/patacrep/build.py index 6c06f7cf..f2c50036 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -129,7 +129,7 @@ class Songbook: def iter_errors(self): """Iterate over errors of book and book content.""" yield from self._errors - contentlist = self._config.get('content', list()) + contentlist = self._config.get('content', content.ContentList()) yield from contentlist.iter_errors() for item in contentlist: if not hasattr(item, "iter_errors"):