Updated documentation
This commit is contained in:
parent
ec22042a31
commit
d58a1c6f6e
2 changed files with 19 additions and 2 deletions
|
@ -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'))
|
||||
|
||||
|
|
Reference in a new issue