forked from tpd94/CDRM-Project
		
	Update user_info.py
This commit is contained in:
		
							parent
							
								
									3f7538838d
								
							
						
					
					
						commit
						6b78ac120f
					
				@ -13,7 +13,7 @@ def user_info():
 | 
			
		||||
        return jsonify({'message': 'False'}), 400
 | 
			
		||||
 | 
			
		||||
    try:
 | 
			
		||||
        base_path = os.path.join(os.getcwd(), 'configs', 'CDMs', username)
 | 
			
		||||
        base_path = os.path.join(os.getcwd(), 'configs', 'CDMs', username.lower())
 | 
			
		||||
        pr_files = [os.path.basename(f) for f in glob.glob(os.path.join(base_path, 'PR', '*.prd'))]
 | 
			
		||||
        wv_files = [os.path.basename(f) for f in glob.glob(os.path.join(base_path, 'WV', '*.wvd'))]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user