mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +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))
|
||||
|
||||
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):
|
||||
Value = String
|
||||
|
Loading…
Reference in New Issue
Block a user