From ed7f63199e2e5b5a2a90df7038ac5492a0494a99 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 6 Mar 2025 02:34:57 +0100 Subject: [PATCH] Minor bug fix. --- src/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/run.py b/src/run.py index 700e5db..6267575 100755 --- a/src/run.py +++ b/src/run.py @@ -182,8 +182,8 @@ class DatLine(Dictable): in self.comment[len(PREFIX_DEF):].split(';')] first_part_parts = parts[0].split(maxsplit=1) account_name = first_part_parts[0] - description = first_part_parts[1] if first_part_parts else '' - instructions[account_name] = description + desc = first_part_parts[1] if len(first_part_parts) > 0 else '' + instructions[account_name] = desc return instructions @property -- 2.30.2