diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index b2a985e406d10f5e3a1afc25436028a3ce3e34ed..95d3051693819d9ff6e4dc7b9701fcfdcd21709a 100755 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2677,13 +2677,13 @@ class WebInterface: default_image_name = 'banner.png' default_image_path = ek.ek(os.path.join, sickbeard.PROG_DIR, 'data', 'images', default_image_name) - if show == None: - return cherrypy.lib.static.serve_file(default_image_path, content_type="image/jpeg") + if show is None: + return cherrypy.lib.static.serve_file(default_image_path, content_type="image/png") else: showObj = sickbeard.helpers.findCertainShow(sickbeard.showList, int(show)) - if showObj == None: - return cherrypy.lib.static.serve_file(default_image_path, content_type="image/jpeg") + if showObj is None: + return cherrypy.lib.static.serve_file(default_image_path, content_type="image/png") cache_obj = image_cache.ImageCache() @@ -2715,7 +2715,7 @@ class WebInterface: cherrypy.response.headers['Content-Type'] = 'image/jpeg' return buffer.getvalue() else: - return cherrypy.lib.static.serve_file(default_image_path, content_type="image/jpeg") + return cherrypy.lib.static.serve_file(default_image_path, content_type="image/png") @cherrypy.expose def setComingEpsLayout(self, layout):