diff --git a/CHANGES.md b/CHANGES.md index 65e29848..428c592f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,6 +26,7 @@ * Fix Layout "Poster" sort of Paused, Ended, and Continuing shows as they were random * Fix Layout "Simple" sort of tvrage "New" and "Returning" series by changing status column text to "Continuing" * Add dark spinner to "Add New Show" (searching indexers), "Add existing shows" (Loading Folders), Coming Eps and all config pages (when saving) +* Fixes errors occurring when a show folder is deleted outside of SickRage ### 0.2.1 (2014-10-22 06:41:00 UTC) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index e58549d2..4468af9c 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -806,7 +806,11 @@ class TVShow(object): self.flatten_folders = int(sqlResults[0]["flatten_folders"]) self.paused = int(sqlResults[0]["paused"]) - self.location = sqlResults[0]["location"] + try: + self.location = sqlResults[0]["location"] + except Exception: + dirty_setter("_location")(self, sqlResults[0]["location"]) + self._isDirGood = False if not self.lang: self.lang = sqlResults[0]["lang"]