mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	Owner: fix error message when the ImportError comes from the plugin
This commit is contained in:
		
							parent
							
								
									3c30463e11
								
							
						
					
					
						commit
						8d8e574d12
					
				@ -432,7 +432,7 @@ class Owner(callbacks.Plugin):
 | 
			
		||||
                      'to force it to load.' % name.capitalize())
 | 
			
		||||
            return
 | 
			
		||||
        except ImportError, e:
 | 
			
		||||
            if name in str(e):
 | 
			
		||||
            if str(e).endswith(' ' + name):
 | 
			
		||||
                irc.error('No plugin named %s exists.' % utils.str.dqrepr(name))
 | 
			
		||||
            else:
 | 
			
		||||
                irc.error(str(e))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user