Private GIT

Skip to content
Snippets Groups Projects
Commit 262add96 authored by Amadeus's avatar Amadeus
Browse files

Fix logging line to handle NoneType object

parent ca3470e6
Branches
Tags
No related merge requests found
......@@ -516,7 +516,8 @@ class PostProcessor(object):
to_return = (show, season, [], quality, version)
qual_str = common.Quality.qualityStrings[quality] if quality is not None else quality
self._log("Found result in history for %s - Season: %s - Quality: %s - Version: %s" % (show.name, season, qual_str, version), logger.DEBUG)
self._log("Found result in history for %s - Season: %s - Quality: %s - Version: %s"
% (show.name if show else "UNDEFINED", season, qual_str, version), logger.DEBUG)
return to_return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment