poprawka w format_host
This commit is contained in:
		
							
								
								
									
										4
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								app.py
									
									
									
									
									
								
							| @@ -394,9 +394,9 @@ def cleanup_old_backups(): | ||||
|  | ||||
| def format_host(host): | ||||
|     if host.use_daemon and host.type == 'linux' and host.daemon_url: | ||||
|         return f"{host.resolved_daemon} ({host.raw_ip})" | ||||
|         return f"{host.resolved_daemon or host.hostname} ({host.raw_ip})" | ||||
|     else: | ||||
|         return f"{host.resolved_hostname} ({host.raw_ip})" | ||||
|         return f"{host.resolved_hostname or host.hostname} ({host.raw_ip})" | ||||
|  | ||||
| # ------------------- | ||||
| # LOGOWANIE, REJESTRACJA, ZMIANA HASŁA | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mateusz Gruszczyński
					Mateusz Gruszczyński