missed this one!

This commit is contained in:
clinton-hall 2014-07-22 16:26:43 +09:30
commit 8540d40cb1

View file

@ -512,7 +512,7 @@ def getDirs(section, subsection):
newPath = os.path.join(path, sanitizeName(title))
except Exception as e:
logger.error("Exception parsing name for media file: %s: %s" % (os.path.split(mediafile2)[1], e))
logger.error("Exception parsing name for media file: %s: %s" % (os.path.split(mediafile)[1], e))
if not newPath:
title = os.path.splitext(os.path.basename(mediafile))[0]