Skip to content

Commit

Permalink
πŸ•Š
Browse files Browse the repository at this point in the history
πŸ•Š
  • Loading branch information
keyiflerolsun committed Aug 7, 2024
1 parent 9f1f6fa commit 4f94e94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions KeeneticPy/Keenetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from .BGPTools import cidr2mask, asn2cidr, domain2ip

class Keenetic:
def __init__(self, user:str="admin", password:str="", ip:str="192.168.1.1"):
def __init__(self, user:str="admin", password:str="", panel:str="http://192.168.1.1"):
self.__oturum = Client()
self.__panel = f"http://{ip}"
self.__panel = panel
self.__rci = f"{self.__panel}/rci/"

self._yetki = self.__yetkilendir(user, password)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pip install -U KeeneticPy
from Kekik.cli import konsol
from KeeneticPy import Keenetic

modem = Keenetic(user="admin", password="cokomellisifre", ip="192.168.1.1")
modem = Keenetic(user="admin", password="cokomellisifre", panel="http://192.168.1.1")

modem.backup(maks_backup=2)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
# ? Genel Bilgiler
name = "KeeneticPy",
version = "1.7",
version = "1.8",
url = "https://github.com/keyiflerolsun/KeeneticPy",
description = "Python Lib for Keenetic Routers",
keywords = ["KeeneticPy", "KekikAkademi", "keyiflerolsun"],
Expand Down

0 comments on commit 4f94e94

Please sign in to comment.