mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-20 15:41:09 +01:00
Fixed bug #894619.
This commit is contained in:
parent
1264f21f23
commit
14ab800a13
@ -368,7 +368,14 @@ class SeparatedListOf(Value):
|
|||||||
Value.setValue(self, self.List(v))
|
Value.setValue(self, self.List(v))
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.joiner(self.value)
|
if self.value:
|
||||||
|
return self.joiner(self.value)
|
||||||
|
else:
|
||||||
|
# We must return *something* here, otherwise down along the road we
|
||||||
|
# can run into issues showing users the value if they've disabled
|
||||||
|
# nick prefixes in any of the numerous ways possible. Since the
|
||||||
|
# config parser doesn't care about this space, we'll use it :)
|
||||||
|
return ' '
|
||||||
|
|
||||||
class SpaceSeparatedListOfStrings(SeparatedListOf):
|
class SpaceSeparatedListOfStrings(SeparatedListOf):
|
||||||
Value = String
|
Value = String
|
||||||
|
Loading…
x
Reference in New Issue
Block a user