Many things

This commit is contained in:
2023-09-25 03:53:08 +03:00
parent 39e480b655
commit 489405e6e7
7 changed files with 278 additions and 99 deletions

3
lib.py
View File

@ -68,3 +68,6 @@ class Server:
with open("config.yaml", "w") as file:
yaml.safe_dump(config_file, file)
log.info("Changed %s comment to '%s'", self.data["server_id"], config.get("comment"))
def create_key(self, key_name):
return self.client.create_key(key_name)