Fix cover file name in backup and sync (bug 591)
commitf09df6217872f4b86f1241abd9647d992533a516
authorThomas Perl <thp@thpinfo.com>
Mon, 12 Oct 2009 09:12:12 +0000 (12 11:12 +0200)
committerThomas Perl <thp@thpinfo.com>
Mon, 12 Oct 2009 09:12:12 +0000 (12 11:12 +0200)
tree5f150ef95bb7966da6221484a9f35ee37dcd449f
parent37d80620f69a9a8ded5aa30ceff85249f74d59ec
Fix cover file name in backup and sync (bug 591)

When adding new feeds, the new filename ".cover"
is not detected correctly when syncing files to
an iPod or backing up the download folder.

This patch fixes it by first trying the old name
("cover") and then the new one (".cover") if the
old one does not exist.

Thanks to Romain Janvier for reporting this bug.
bin/gpodder-backup
src/gpodder/sync.py