fixy z listy todo
This commit is contained in:
parent
a5c59f8a64
commit
02088c1782
3
app.py
3
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user