mirror of
				https://github.com/ComputerScienceHouse/proxstar.git
				synced 2025-03-09 15:40:09 +00:00 
			
		
		
		
	properly readd targets during cleanup
This commit is contained in:
		
							parent
							
								
									e5e54d1239
								
							
						
					
					
						commit
						cebad26e6b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -68,7 +68,8 @@ def delete_vnc_target(port):
 | 
			
		|||
        targets.remove(target)
 | 
			
		||||
        target_file = open(app.config['WEBSOCKIFY_TARGET_FILE'], 'w')
 | 
			
		||||
        for target in targets:
 | 
			
		||||
            target_file.write("{}\n".format(target))
 | 
			
		||||
            target_file.write("{}: 127.0.0.1:{}\n".format(
 | 
			
		||||
                target['token'], target['port']))
 | 
			
		||||
        target_file.close()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue