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: try:
os.remove(media_file.file_name) os.remove(media_file.file_name)
except: except:
log.exception('Could not remove file: %s', media_file) log.exception('Could not remove file: %s',
media_file.file_name)
try: try:
save_path = os.path.join(AppLocation.get_section_data_path( save_path = os.path.join(AppLocation.get_section_data_path(
self.plugin.name), 'audio', str(item_id)) self.plugin.name), 'audio', str(item_id))