fix: handle invalid space \xa0 in repo_name_converter (#41)
				
					
				
			This commit is contained in:
		
							parent
							
								
									e332c64221
								
							
						
					
					
						commit
						85fae796ce
					
				|  | @ -33,5 +33,5 @@ def default_repo_name_convertor(user: User) -> str: | |||
|     login_id, name = user.login_id, user.name | ||||
|     eng = re.sub("[\u4e00-\u9fa5]", "", name) | ||||
|     eng = eng.replace(",", "") | ||||
|     eng = eng.title().replace(" ", "") | ||||
|     eng = eng.title().replace(" ", "").replace(u'\xa0', '') | ||||
|     return f"{eng}{login_id}" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 GitHub
							GitHub