Private GIT

Skip to content
Snippets Groups Projects
Commit 4785c3e5 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Fix an encoding problem when scanning folders

parent 96be9b14
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ class TVShow(object):
# find all media files in the show folder and create episodes for as many as possible
def loadEpisodesFromDir (self):
if not os.path.isdir(self._location):
if not ek.ek(os.path.isdir, self._location):
logger.log(str(self.tvdbid) + ": Show dir doesn't exist, not loading episodes from disk")
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment