fixy z listy todo
This commit is contained in:
		
							
								
								
									
										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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user