mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix: 指定集数
This commit is contained in:
@@ -99,7 +99,7 @@ class FormatParser(object):
|
|||||||
# `details` 格式为 `X`
|
# `details` 格式为 `X`
|
||||||
start_ep = self.__offset.replace("EP", str(self._start_ep))
|
start_ep = self.__offset.replace("EP", str(self._start_ep))
|
||||||
return int(eval(start_ep)), None, self.part
|
return int(eval(start_ep)), None, self.part
|
||||||
else:
|
elif not self._format:
|
||||||
# `details` 格式为 `X,X`
|
# `details` 格式为 `X,X`
|
||||||
start_ep = self.__offset.replace("EP", str(self._start_ep))
|
start_ep = self.__offset.replace("EP", str(self._start_ep))
|
||||||
end_ep = self.__offset.replace("EP", str(self._end_ep))
|
end_ep = self.__offset.replace("EP", str(self._end_ep))
|
||||||
|
|||||||
Reference in New Issue
Block a user