mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
missed this one!
This commit is contained in:
parent
49842ac52a
commit
8540d40cb1
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ def getDirs(section, subsection):
|
||||||
|
|
||||||
newPath = os.path.join(path, sanitizeName(title))
|
newPath = os.path.join(path, sanitizeName(title))
|
||||||
except Exception as e:
|
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:
|
if not newPath:
|
||||||
title = os.path.splitext(os.path.basename(mediafile))[0]
|
title = os.path.splitext(os.path.basename(mediafile))[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue