From 35d97fb767f721c29cb30a89bd87f013b1a3d4b3 Mon Sep 17 00:00:00 2001 From: pappapisshu <39009553+pappapisshu@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:09:41 +0100 Subject: [PATCH] The function is imported and called consistently with all the others. --- management/daemon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/management/daemon.py b/management/daemon.py index 88e9b85d..c5ac2789 100755 --- a/management/daemon.py +++ b/management/daemon.py @@ -582,8 +582,7 @@ def show_updates(): @app.route('/system/ssh-public-key') @authorized_personnel_only def get_ssh_public_key(): - from utils import load_ssh_public_key - return load_ssh_public_key() + return utils.load_ssh_public_key() @app.route('/system/update-packages', methods=["POST"]) @authorized_personnel_only