Updated documentation

This commit is contained in:
Anna 2010-04-21 13:58:15 -04:00
parent ec22042a31
commit d58a1c6f6e
2 changed files with 19 additions and 2 deletions

View file

@ -19,7 +19,7 @@ class MyTwitter():
self.accounts = {}
for item in config.sections():
if (re.match(r'account-', item)):
if (re.match(r'account', item)):
username = config.get(item, 'username')
self.accounts[username] = twitter.Api(username=username, password=config.get(item, 'password'))