fix: 指定集数

This commit is contained in:
Attente
2025-01-18 02:52:26 +08:00
parent 3e692c790e
commit 331f3455f8
+1 -1
View File
@@ -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))