Skip to content

Commit

Permalink
Fix a crash bug with metadata disabled when adding a show
Browse files Browse the repository at this point in the history
  • Loading branch information
midgetspy committed Dec 9, 2010
1 parent 370a3a0 commit 6d60a60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sickbeard/tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ def getEpisode(self, season, episode, file=None, noCreate=False):

def writeShowNFO(self):

result = False

if not ek.ek(os.path.isdir, self._location):
logger.log(str(self.tvdbid) + u": Show dir doesn't exist, skipping NFO generation")
return False
Expand Down

0 comments on commit 6d60a60

Please sign in to comment.