forked from openlp/openlp
Removed needless unicode() call
This commit is contained in:
parent
621ef0b6e6
commit
fe5c144dce
@ -872,7 +872,7 @@ class BiblesResourcesDB(QtCore.QObject, Manager):
|
|||||||
"""
|
"""
|
||||||
log.debug(u'BiblesResourcesDB.get_language_by_id(%d)', language_id)
|
log.debug(u'BiblesResourcesDB.get_language_by_id(%d)', language_id)
|
||||||
language = BiblesResourcesDB.run_sql(u'SELECT id, name, code FROM '
|
language = BiblesResourcesDB.run_sql(u'SELECT id, name, code FROM '
|
||||||
u'language WHERE id = ?', (unicode(language_id),))
|
u'language WHERE id = ?', (language_id,))
|
||||||
if language:
|
if language:
|
||||||
return {
|
return {
|
||||||
u'id': language[0][0],
|
u'id': language[0][0],
|
||||||
|
Loading…
Reference in New Issue
Block a user