Set a default currvalue so line_ok works on configs starting with comments.
This commit is contained in:
parent
7ad31a0ee6
commit
5c8b1e7435
@ -115,6 +115,7 @@ class ConfigFile:
|
||||
|
||||
self._currsection = None
|
||||
self._cursetting = None
|
||||
self._currvalue = None
|
||||
self.errors = []
|
||||
|
||||
for self._line in rc:
|
||||
|
Loading…
Reference in New Issue
Block a user