Updated documentation
This commit is contained in:
@ -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 New Issue
Block a user