Tuesday, November 9, 2010

ConfigParser

So one of our big bugs at the hackfest turned out to be a very simple fix. We were saving a config file using ConfigParser. Transbot was saving IRC channels with the pound symbol(#) still prefixed to it. What we didn't realize is that ConfigParser later reads these lines as a comment and ignores them. Needless to say we were relieved when we realized what was causing our headaches.

No comments:

Post a Comment