Commit dad674ac authored by echel0n's avatar echel0n

Fixed issue with multi-episode naming

parent 6c5adf0d
......@@ -230,7 +230,7 @@ class TestNamingHandler(BaseHandler, ABC):
anime_type = self.get_argument('anime_type', None)
if multi is not None:
multi = int(multi)
multi = MultiEpNaming[multi]
if anime_type is not None:
anime_type = int(anime_type)
......@@ -254,6 +254,9 @@ class IsNamingPatternValidHandler(BaseHandler, ABC):
if multi:
multi = MultiEpNaming[multi]
if anime_type is not None:
anime_type = int(anime_type)
return self.write(is_naming_pattern_valid(pattern=pattern, multi=multi, abd=abd, sports=sports, anime_type=anime_type))
......
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment