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_url = db.Column(db.String(255), nullable=True)
 | 
				
			||||||
    daemon_token = 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)
 | 
					    disable_regex_deploy = db.Column(db.Boolean, default=False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    def resolved_hostname(self):
 | 
					    def resolved_hostname(self):
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
@@ -54,7 +55,7 @@ class Host(db.Model):
 | 
				
			|||||||
        except Exception:
 | 
					        except Exception:
 | 
				
			||||||
            return self.hostname
 | 
					            return self.hostname
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					
 | 
				
			||||||
    def resolved_daemon(self):
 | 
					    def resolved_daemon(self):
 | 
				
			||||||
        if self.use_daemon and self.daemon_url:
 | 
					        if self.use_daemon and self.daemon_url:
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user