1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixes errors occurring when a show folder is deleted outside of SickRage

This commit is contained in:
Adam 2014-10-28 14:43:53 +08:00
parent 4ab2b141a1
commit dda6cfce57
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -806,7 +806,11 @@ class TVShow(object):
self.flatten_folders = int(sqlResults[0]["flatten_folders"])
self.paused = int(sqlResults[0]["paused"])
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"]