diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..6d03dc3 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Migrate code style to Black +457022aa416431c6fe78743087677c0e9fd1d752 diff --git a/Jeopardy/plugin.py b/Jeopardy/plugin.py index 4cbffd4..4abe787 100644 --- a/Jeopardy/plugin.py +++ b/Jeopardy/plugin.py @@ -222,6 +222,7 @@ class Jeopardy(callbacks.Plugin): and not invalid and id not in asked and id not in self.history[channel] + and answer != "=" ): q = "{0}|{1}|{2}|{3}|{4}|{5}".format( id, airdate, points, category, clue, answer @@ -238,6 +239,7 @@ class Jeopardy(callbacks.Plugin): and category and not invalid and id not in asked + and answer != "=" ): q = "{0}|{1}|{2}|{3}|{4}|{5}".format( id, airdate, points, category, clue, answer @@ -353,6 +355,7 @@ class Jeopardy(callbacks.Plugin): and not invalid and id not in asked and id not in self.history[channel] + and answer != "=" ): q = "{0}|{1}|{2}|{3}|{4}|{5}".format( id, airdate, points, category, clue, answer @@ -370,6 +373,7 @@ class Jeopardy(callbacks.Plugin): and category and not invalid and id not in asked + and answer != "=" ): q = "{0}|{1}|{2}|{3}|{4}|{5}".format( id, airdate, points, category, clue, answer