fixed name

This commit is contained in:
Andreas Preikschat 2011-10-03 22:28:17 +02:00
parent 91c20c4271
commit 947b31d2c4
1 changed files with 2 additions and 1 deletions

View File

@ -397,7 +397,8 @@ class SongMediaItem(MediaManagerItem):
try:
os.remove(media_file.file_name)
except:
log.exception('Could not remove file: %s', media_file)
log.exception('Could not remove file: %s',
media_file.file_name)
try:
save_path = os.path.join(AppLocation.get_section_data_path(
self.plugin.name), 'audio', str(item_id))