Конкретный вывод hostname
This commit is contained in:
parent
dfbd387fae
commit
950a09d18b
2 changed files with 55 additions and 34 deletions
|
|
@ -20,7 +20,7 @@ logger = logging.getLogger(__name__)
|
|||
class WifiStorage:
|
||||
"""Класс для хранения данных о Wi-Fi сетях и их заметках по SSID."""
|
||||
|
||||
def __init__(self, storage_path: str = "storage/wifi/wifi.json"):
|
||||
def __init__(self, storage_path: str = "etc/gonets/SRV/storage/wifi/wifi.json"):
|
||||
self.storage_file = Path(storage_path)
|
||||
self.storage_file.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue