From 02088c17827115548552c8d61c33eddcf99259ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sun, 9 Mar 2025 00:06:15 +0100 Subject: [PATCH] fixy z listy todo --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 95a9c64..8ec39fb 100644 --- a/app.py +++ b/app.py @@ -47,6 +47,7 @@ class Host(db.Model): daemon_url = db.Column(db.String(255), nullable=True) daemon_token = db.Column(db.String(255), nullable=True) disable_regex_deploy = db.Column(db.Boolean, default=False) + @property def resolved_hostname(self): try: @@ -54,7 +55,7 @@ class Host(db.Model): except Exception: return self.hostname - @property + def resolved_daemon(self): if self.use_daemon and self.daemon_url: try: