diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 07b0e9a45..19dd720d9 100644 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -201,7 +201,8 @@ class Model(object): """ if not self._db: raise ValueError( - u'{0} has no database'.format(type(self).__name__)) + u'{0} has no database'.format(type(self).__name__) + ) if need_id and not self.id: raise ValueError(u'{0} has no id'.format(type(self).__name__))