From 5c8b1e743561d2ca2fc0613ba8143f6dfdf55e45 Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Thu, 28 Aug 2008 15:12:05 +0100 Subject: [PATCH] Set a default currvalue so line_ok works on configs starting with comments. --- terminatorlib/configfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/terminatorlib/configfile.py b/terminatorlib/configfile.py index 59910216..1f0ab967 100644 --- a/terminatorlib/configfile.py +++ b/terminatorlib/configfile.py @@ -115,6 +115,7 @@ class ConfigFile: self._currsection = None self._cursetting = None + self._currvalue = None self.errors = [] for self._line in rc: