Removed needless unicode() call

This commit is contained in:
Arjan Schrijver 2013-08-21 14:47:32 +02:00
parent 621ef0b6e6
commit fe5c144dce

View File

@ -872,7 +872,7 @@ class BiblesResourcesDB(QtCore.QObject, Manager):
"""
log.debug(u'BiblesResourcesDB.get_language_by_id(%d)', language_id)
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:
return {
u'id': language[0][0],