Head r1821

This commit is contained in:
Jon Tibble 2011-12-04 20:58:39 +00:00
commit 6b91f58da3

View File

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