mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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):
|
||||
"""Override this with a function to convert a string to whatever type
|
||||
you want, and call self.setValue to set the value."""
|
||||
raise NotImplementedError
|
||||
self.setValue(s)
|
||||
|
||||
def setValue(self, v):
|
||||
"""Check conditions on the actual value type here. I.e., if you're a
|
||||
|
Loading…
Reference in New Issue
Block a user