diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-09-15 08:01:48 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-09-15 08:01:48 +0200 |
commit | fa2a80be158162e90c4a8d75685875125a78a553 (patch) | |
tree | 1000fcc1cb54c224c0e379f296131b0242bf5b16 /nephilim | |
parent | f5cd95dc9b52dfcb80fe2237ed40f63ea5a98136 (diff) |
Lyrics: don't try to save lyrics to empty path
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 f5c37da..0787c66 100644 --- a/nephilim/plugins/Lyrics.py +++ b/nephilim/plugins/Lyrics.py @@ -135,7 +135,7 @@ class Lyrics(Plugin): i = self.__fetchers.index(self.sender()) if lyrics and i < self.__index: - if self.settings.value(self.name + '/store').toBool(): + if self.settings.value(self.name + '/store').toBool() and self.__lyrics_path: self.save_lyrics_file(lyrics) self.__index = i return self.o.set_lyrics(song, lyrics) |