From cc16029c2bdd466b5e0542354c3a51af07fd318f Mon Sep 17 00:00:00 2001
From: Ferenc Schulcz <schulcz.ferenc@gmail.com>
Date: Mon, 17 Feb 2025 13:16:16 +0100
Subject: [PATCH] Small fixes with dyndns

---
 db_management/dyndns_add_server.py | 5 ++---
 requirements.txt                   | 1 +
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/db_management/dyndns_add_server.py b/db_management/dyndns_add_server.py
index 7832ec2..2009cbe 100755
--- a/db_management/dyndns_add_server.py
+++ b/db_management/dyndns_add_server.py
@@ -6,8 +6,7 @@ from getpass import getpass
 
 id = input("ID: ")
 url = input("Url (like https://ns.example.com): ")
-print("Authentication key: ", end="")
-key = getpass()
+key = getpass(prompt="Authentication key: ")
 
 dyndnsServers = pymongo.MongoClient(
     "mongodb://localhost:27017/")['sfphotonweb']['dyndns-servers']
@@ -19,4 +18,4 @@ dyndnsServers.insert_one({
 	'id': id,
 	'url': url,
 	'keyhash': generate_password_hash(key, salt_length=4)
-})
\ No newline at end of file
+})
diff --git a/requirements.txt b/requirements.txt
index 68f6668..c17d1a7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,3 +7,4 @@ Authlib
 requests
 pyuwsgi
 pyotp
+aiohttp
-- 
GitLab