Added a serialize to databases. If you haven't modified this variable, you should remove it from your configuration file before starting your bot next time you restart.

This commit is contained in:
Jeremy Fincher 2004-09-16 10:55:43 +00:00
parent a11654dcdd
commit a26e664cf8

View File

@ -668,6 +668,9 @@ class Databases(registry.SpaceSeparatedListOfStrings):
v.insert(0, 'sqlite') v.insert(0, 'sqlite')
return v return v
def serialize(self):
return ' '.join(self.value)
registerGlobalValue(supybot, 'databases', registerGlobalValue(supybot, 'databases',
Databases([], """Determines what databases are available for use. If this Databases([], """Determines what databases are available for use. If this
value is not configured (that is, if its value is empty) then sane defaults value is not configured (that is, if its value is empty) then sane defaults