Browse Source

Change when getting a non existing folder, add the failed location to log messages.

pull/1107/head
JackDandy 7 years ago
parent
commit
10016be058
  1. 1
      CHANGES.md
  2. 2
      sickbeard/tv.py

1
CHANGES.md

@ -29,6 +29,7 @@
* Change reduce browser I/O on displayShow
* Fix displayShow bug where click holding on a season btn and then dragging away leaves 50% white
* Change Show List text "Search Show Name" to "Filter Show Name", and "Reset Search" to "Reset Filter" for clarity
* Change when getting a non existing folder, add the failed location to log messages
[develop changelog]

2
sickbeard/tv.py

@ -288,7 +288,7 @@ class TVShow(object):
if ek.ek(os.path.isdir, self._location):
return self._location
else:
raise exceptions.ShowDirNotFoundException('Show folder doesn\'t exist, you shouldn\'t be using it')
raise exceptions.ShowDirNotFoundException('Show folder does not exist: \'%s\'' % self._location)
def _setLocation(self, newLocation):
logger.log('Setter sets location to %s' % newLocation, logger.DEBUG)

Loading…
Cancel
Save