mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Let's setValue by default, that's more useful.
This commit is contained in:
parent
f7094ae7b9
commit
f0a5207117
@ -276,7 +276,7 @@ class Value(Group):
|
|||||||
def set(self, s):
|
def set(self, s):
|
||||||
"""Override this with a function to convert a string to whatever type
|
"""Override this with a function to convert a string to whatever type
|
||||||
you want, and call self.setValue to set the value."""
|
you want, and call self.setValue to set the value."""
|
||||||
raise NotImplementedError
|
self.setValue(s)
|
||||||
|
|
||||||
def setValue(self, v):
|
def setValue(self, v):
|
||||||
"""Check conditions on the actual value type here. I.e., if you're a
|
"""Check conditions on the actual value type here. I.e., if you're a
|
||||||
|
Loading…
Reference in New Issue
Block a user