Fixed up loading a song from a service.

This commit is contained in:
Raoul Snyman 2011-05-30 13:17:23 +02:00
parent 30ec309ff8
commit 99ae60aba3
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
import logging
import locale
import re
from PyQt4 import QtCore, QtGui
from sqlalchemy.sql import or_

View File

@ -514,7 +514,7 @@ class OpenLyrics(object):
``song``
The song object.
"""
song.song_book_id = 0
song.song_book_id = None
song.song_number = u''
if hasattr(properties, u'songbooks'):
for songbook in properties.songbooks.songbook: