summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nephilim/plugins/Lyrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py
index 0787c66..8e04e51 100644
--- a/nephilim/plugins/Lyrics.py
+++ b/nephilim/plugins/Lyrics.py
@@ -407,7 +407,7 @@ class Lyrics(Plugin):
try:
os.remove(path)
- except IOError, e:
+ except (IOError, OSError), e:
self.logger.error('Error removing lyrics file %s: %s'%(path, e))
def get_settings_widget(self):