From 3724dc113831adc755bda54fc9df1662fc023c56 Mon Sep 17 00:00:00 2001 From: fravetier Date: Fri, 18 Oct 2024 08:54:48 +0200 Subject: [PATCH] Improve syntax quality --- pydifact/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydifact/parser.py b/pydifact/parser.py index fddcc70..169ea3b 100644 --- a/pydifact/parser.py +++ b/pydifact/parser.py @@ -56,7 +56,7 @@ def parse( una_found = idx_una != -1 if una_found: - characters = Characters.from_str("UNA" + message[idx_una + 3 : idx_una + 9]) + characters = Characters.from_str("UNA" + message[idx_una + 3: idx_una + 9]) # remove the UNA segment from the string, # ignore everything before UNA because it should be the first segment if una_found.