Permalink
Browse files

Fixed issue 134

  • Loading branch information...
midgetspy committed Jan 31, 2010
1 parent 6a5632c commit 3d1b32826f9bec2237255b3b539c47ffc96a8bb0
Showing with 3 additions and 0 deletions.
  1. +3 −0 sickbeard/helpers.py
View
@@ -297,6 +297,9 @@ def getShowImage(url, imgNum=None):
imgFile = None
imgData = None
+ if url == None:
+ return None
+
# if they provided a fanart number try to use it instead
if imgNum != None:
tempURL = url.split('-')[0] + "-" + str(imgNum) + ".jpg"

0 comments on commit 3d1b328

Please sign in to comment.