diff --git a/oppaiBot.py b/oppaiBot.py index d468c3f..cbf0944 100755 --- a/oppaiBot.py +++ b/oppaiBot.py @@ -30,7 +30,7 @@ class OppaiBot(irc.IRCClient): self.tags = re.findall(r"\[(.+?)\]", self.config["tags"]) self.tags = [tag.split(",") for tag in self.tags] - self.blacklist = self.config.get("blacklist").split(",") + self.blacklist = self.config.get("blacklist", "").split(",") def save_torrent(self, url, directory):