KeeneticPy 2.3__tar.gz → 2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,7 +198,7 @@ class Keenetic:
198
198
  ]
199
199
  )
200
200
 
201
- self.clean_multiple_routes()
201
+ # self.clean_multiple_routes() # ! Sanırım bu işi Keenetic zaten yapıyor
202
202
 
203
203
  return istek.status_code == 200
204
204
 
@@ -231,6 +231,8 @@ class Keenetic:
231
231
  else:
232
232
  konsol.log(f"[red][!] {subnet} » {veri.get('comment')} » eklenemedi!")
233
233
 
234
+ return True
235
+
234
236
  for ip in domain_data["ipler"]:
235
237
  veri = {"comment": domain_data["domain"], "host": ip, "interface": interface}
236
238
  if self.add_static_route(**veri):
@@ -281,5 +283,5 @@ class Keenetic:
281
283
  eldekiler.add(veri)
282
284
  continue
283
285
 
284
- konsol.log("[red][!] Eş bir kayıt bulundu ve silindi! » ", veri)
286
+ konsol.log(f"[red][!] Eş bir kayıt bulundu ve silindi! » {route}")
285
287
  self.del_static_route(**route)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: KeeneticPy
3
- Version: 2.3
3
+ Version: 2.5
4
4
  Summary: Python Lib for Keenetic Routers
5
5
  Home-page: https://github.com/keyiflerolsun/KeeneticPy
6
6
  Author: keyiflerolsun
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: KeeneticPy
3
- Version: 2.3
3
+ Version: 2.5
4
4
  Summary: Python Lib for Keenetic Routers
5
5
  Home-page: https://github.com/keyiflerolsun/KeeneticPy
6
6
  Author: keyiflerolsun
@@ -6,7 +6,7 @@ from io import open
6
6
  setup(
7
7
  # ? Genel Bilgiler
8
8
  name = "KeeneticPy",
9
- version = "2.3",
9
+ version = "2.5",
10
10
  url = "https://github.com/keyiflerolsun/KeeneticPy",
11
11
  description = "Python Lib for Keenetic Routers",
12
12
  keywords = ["KeeneticPy", "KekikAkademi", "keyiflerolsun"],
File without changes
File without changes
File without changes
File without changes