| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -14,8 +14,10 @@ if __name__ == "__main__": | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  keys = requests.get(f"https://github.com/{username}.keys", timeout=10) | 
					 | 
					 | 
					 | 
					  keys = requests.get(f"https://github.com/{username}.keys", timeout=10) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if keys.status_code == 200: | 
					 | 
					 | 
					 | 
					  if keys.status_code == 200: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    Params().put("GithubSshKeys", keys.text) | 
					 | 
					 | 
					 | 
					    params = Params() | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    Params().put("GithubUsername", username) | 
					 | 
					 | 
					 | 
					    params.put_bool("SshEnabled", True) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    params.put("GithubSshKeys", keys.text) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    params.put("GithubUsername", username) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    print("Setup ssh keys successfully") | 
					 | 
					 | 
					 | 
					    print("Setup ssh keys successfully") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  else: | 
					 | 
					 | 
					 | 
					  else: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    print("Error getting public keys from github") | 
					 | 
					 | 
					 | 
					    print("Error getting public keys from github") | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |