Hopefully the final piece of the fix.

This commit is contained in:
Raoul Snyman 2011-12-04 15:26:27 +02:00
parent 2016ce61ca
commit c825df38fa

View File

@ -145,6 +145,7 @@ class OpenLPSongImport(SongImport):
else:
song_props['media_files'] = relation(OldMediaFile,
backref='songs',
foreign_keys=[source_media_files_table.c.song_id],
primaryjoin=source_songs_table.c.id == \
source_media_files_table.c.song_id)
try: