From 16d1125e84a22d70d6dc819a6b73f50a870abc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20K=C3=B6hler?= Date: Wed, 29 Feb 2012 13:05:27 +0100 Subject: [PATCH] small fix --- openlp/plugins/bibles/lib/osis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/bibles/lib/osis.py b/openlp/plugins/bibles/lib/osis.py index 400aaff7c..defaca85c 100644 --- a/openlp/plugins/bibles/lib/osis.py +++ b/openlp/plugins/bibles/lib/osis.py @@ -119,7 +119,8 @@ class OSISBible(BibleDB): if match: language = BiblesResourcesDB.get_language(match.group(1)) if language: - self.create_meta(u'language_id', language[u'id']) + language_id = language[u'id'] + self.create_meta(u'language_id', language_id) else: language_id = self.get_language(bible_name) if not language_id: