mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	PyLinkNetworkCore: rename filename, config -> channel, chandata
Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
		
							parent
							
								
									7204ef1cf1
								
							
						
					
					
						commit
						dcd0a28c89
					
				@ -284,7 +284,7 @@ class PyLinkNetworkCore(structures.CamelCaseToSnakeCase):
 | 
			
		||||
                    level = chandata.get('loglevel')
 | 
			
		||||
                else:
 | 
			
		||||
                    log.warning('(%s) Got invalid channel logging pair %r: %r; are your indentation '
 | 
			
		||||
                                'and block commenting consistent?', self.name, filename, config)
 | 
			
		||||
                                'and block commenting consistent?', self.name, channel, chandata)
 | 
			
		||||
 | 
			
		||||
                handler = PyLinkChannelLogger(self, channel, level=level)
 | 
			
		||||
                self.loghandlers.append(handler)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user