remove unnecessary check because it will be catch anyway

This commit is contained in:
Stefano
2025-11-20 09:41:57 +09:00
parent 4017b010f4
commit b8d558a455

View File

@@ -255,9 +255,6 @@ class Bitget(Exchange):
def _check_delisting_futures(self, pair: str) -> datetime | None: def _check_delisting_futures(self, pair: str) -> datetime | None:
delivery_time = self.markets.get(pair, {}).get("info", {}).get("limitOpenTime", None) delivery_time = self.markets.get(pair, {}).get("info", {}).get("limitOpenTime", None)
if delivery_time: if delivery_time:
if delivery_time == "-1":
return None
if isinstance(delivery_time, str) and (delivery_time != ""): if isinstance(delivery_time, str) and (delivery_time != ""):
delivery_time = int(delivery_time) delivery_time = int(delivery_time)