diff --git a/other/binextra/netutils/wget.py b/other/binextra/netutils/wget.py index 1add2246..8251b9ac 100644 --- a/other/binextra/netutils/wget.py +++ b/other/binextra/netutils/wget.py @@ -16,7 +16,7 @@ vr("filee").write(ljinux.modules["network"].get(vr("args")[1]).content) else: ljinux.based.error(7) - ljinux.modules["network"].resetsock() + ljinux.modules["network"].reset_session() else: ljinux.based.error(9) else: diff --git a/other/drivers/driver_wifi.py b/other/drivers/driver_wifi.py index eacb2720..5c1c0624 100644 --- a/other/drivers/driver_wifi.py +++ b/other/drivers/driver_wifi.py @@ -247,7 +247,7 @@ def timeset(self, tz=None) -> bool: tz = int(utc_offset[1:3]) if negative: tz = -tz - self.resetsock() + self.reset_session() except: return False else: @@ -266,7 +266,7 @@ def timeset(self, tz=None) -> bool: return True return False - def resetsock(self) -> None: + def reset_session(self) -> None: del self._session self._session = Session(self._pool, create_default_context())