mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-02 10:55:02 +00:00
Fix for renaming non-anime shows and absolute numberings being applied by mistake.
This commit is contained in:
parent
14fd0daa6c
commit
39d9fc6434
1 changed files with 5 additions and 1 deletions
|
@ -2303,7 +2303,11 @@ class TVEpisode(object):
|
||||||
Figures out the path where this episode SHOULD live according to the renaming rules, relative from the show dir
|
Figures out the path where this episode SHOULD live according to the renaming rules, relative from the show dir
|
||||||
"""
|
"""
|
||||||
|
|
||||||
result = self.formatted_filename()
|
anime_type = sickbeard.NAMING_ANIME
|
||||||
|
if not self.show.is_anime:
|
||||||
|
anime_type = 3
|
||||||
|
|
||||||
|
result = self.formatted_filename(anime_type=anime_type)
|
||||||
|
|
||||||
# if they want us to flatten it and we're allowed to flatten it then we will
|
# if they want us to flatten it and we're allowed to flatten it then we will
|
||||||
if self.show.flatten_folders and not sickbeard.NAMING_FORCE_FOLDERS:
|
if self.show.flatten_folders and not sickbeard.NAMING_FORCE_FOLDERS:
|
||||||
|
|
Loading…
Reference in a new issue