From a26e664cf854891ac858523e9fec9c64351afde8 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 16 Sep 2004 10:55:43 +0000 Subject: [PATCH] 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. --- src/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/conf.py b/src/conf.py index bfd2b3ccd..4cf96c136 100644 --- a/src/conf.py +++ b/src/conf.py @@ -668,6 +668,9 @@ class Databases(registry.SpaceSeparatedListOfStrings): v.insert(0, 'sqlite') return v + def serialize(self): + return ' '.join(self.value) + registerGlobalValue(supybot, 'databases', Databases([], """Determines what databases are available for use. If this value is not configured (that is, if its value is empty) then sane defaults