diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-09-23 12:33:51 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-09-23 12:33:51 +0200 |
commit | a3e3343e82bf120be38f0d6ff6db9393de0571f2 (patch) | |
tree | 30d5928161ac0fed52208cf2d12b0593ac185454 /nephilim | |
parent | 15c331e7966b824dd1883f707fee7408131bddb9 (diff) |
Lyrics: catch OSError when removing lyrics file
Diffstat (limited to 'nephilim')
-rw-r--r-- | nephilim/plugins/Lyrics.py | 2 |
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): |