From 46860e04c19ef8d98e4969d027393e39acc4ae4b Mon Sep 17 00:00:00 2001 From: Nigel Dokter Date: Fri, 3 Feb 2017 22:42:31 +0100 Subject: [PATCH] Formatting --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index b960c04..9abba4a 100644 --- a/README.rst +++ b/README.rst @@ -53,6 +53,7 @@ into a dictionary. from dsmr_parser import telegram_specifications from dsmr_parser.parsers import TelegramParser + telegram_str = ( '/ISk5\2MT382-1000\r\n' '\r\n' @@ -77,12 +78,12 @@ into a dictionary. '0-1:24.4.0(1)\r\n' '!\r\n' ) + parser = TelegramParser(telegram_specifications.V3) telegram = parser.parse(telegram_str) print(telegram) # see 'Telegram object' docs below - Telegram object ---------------