From 5102fbaca9d3c136e311828d9f557e35e1330a30 Mon Sep 17 00:00:00 2001 From: keyiflerolsun Date: Fri, 9 Aug 2024 01:21:54 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🕊 --- KeeneticPy/Keenetic.py | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/KeeneticPy/Keenetic.py b/KeeneticPy/Keenetic.py index df3e41f..d974c8a 100644 --- a/KeeneticPy/Keenetic.py +++ b/KeeneticPy/Keenetic.py @@ -231,6 +231,8 @@ def add_route_with_domain(self, domain:str, interface:str="Wireguard2") -> bool: else: konsol.log(f"[red][!] {subnet} » {veri.get('comment')} » eklenemedi!") + return True + for ip in domain_data["ipler"]: veri = {"comment": domain_data["domain"], "host": ip, "interface": interface} if self.add_static_route(**veri): diff --git a/setup.py b/setup.py index be6d78f..ff69b72 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( # ? Genel Bilgiler name = "KeeneticPy", - version = "2.3", + version = "2.4", url = "https://github.com/keyiflerolsun/KeeneticPy", description = "Python Lib for Keenetic Routers", keywords = ["KeeneticPy", "KekikAkademi", "keyiflerolsun"],