zulip_bots run.py: Fix misnamed function.
This commit is contained in:
		
							parent
							
								
									b585bd2dfa
								
							
						
					
					
						commit
						bbf444c2bc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,7 @@ def import_module_from_source(path, name=None):
 | 
			
		|||
 | 
			
		||||
    return module
 | 
			
		||||
 | 
			
		||||
def name_and_patch_match(given_name, path_to_bot):
 | 
			
		||||
def name_and_path_match(given_name, path_to_bot):
 | 
			
		||||
    if given_name and path_to_bot:
 | 
			
		||||
        name_by_path = os.path.splitext(os.path.basename(path_to_bot))[0]
 | 
			
		||||
        if (given_name != name_by_path):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue