pep8
This commit is contained in:
		
							parent
							
								
									87a5a2d2fa
								
							
						
					
					
						commit
						11672d0512
					
				| @ -9,7 +9,7 @@ from serial_asyncio import create_serial_connection | |||||||
| from . import telegram_specifications | from . import telegram_specifications | ||||||
| from .exceptions import ParseError | from .exceptions import ParseError | ||||||
| from .parsers import TelegramParserV2_2, TelegramParserV4 | from .parsers import TelegramParserV2_2, TelegramParserV4 | ||||||
| from .serial import (SERIAL_SETTINGS_V2_2, SERIAL_SETTINGS_V4,TelegramBuffer) | from .serial import (SERIAL_SETTINGS_V2_2, SERIAL_SETTINGS_V4, TelegramBuffer) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None): | def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None): | ||||||
|  | |||||||
| @ -68,7 +68,6 @@ class SerialReader(object): | |||||||
|                         logger.error('Failed to parse telegram: %s', e) |                         logger.error('Failed to parse telegram: %s', e) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| class AsyncSerialReader(SerialReader): | class AsyncSerialReader(SerialReader): | ||||||
|     """Serial reader using asyncio pyserial.""" |     """Serial reader using asyncio pyserial.""" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user