mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Fix for bug that rejects extraneous spaces in Boolean registry values.
This commit is contained in:
parent
22d484ef01
commit
59e5a6bc9f
@ -236,7 +236,7 @@ class Value(Group):
|
||||
|
||||
class Boolean(Value):
|
||||
def set(self, s):
|
||||
s = s.lower()
|
||||
s = s.strip().lower()
|
||||
if s in ('true', 'on', 'enable', 'enabled'):
|
||||
value = True
|
||||
elif s in ('false', 'off', 'disable', 'disabled'):
|
||||
|
Loading…
Reference in New Issue
Block a user