File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -221,12 +221,12 @@ def validate_count_api(rule_payload, endpoint):
221221
222222def load_credentials (filename = None , account_type = None ):
223223 """
224- handlles credeintial managmenet via a YAML file. YAML files should look
224+ Handles credeintial managmenet via a YAML file. YAML files should look
225225 like this:
226226
227227 .. code:: yaml
228228
229- twitter_search_api :
229+ search_tweets_api :
230230 endpoint: <FULL_URL_OF_ENDPOINT>
231231 account: <ACCOUNT_NAME>
232232 username: <USERNAME>
@@ -254,7 +254,7 @@ def load_credentials(filename=None, account_type=None):
254254 raise KeyError
255255 filename = "~/.twitter_keys.yaml" if filename is None else filename
256256 with open (os .path .expanduser (filename )) as f :
257- search_creds = yaml .load (f )["twitter_search_api " ]
257+ search_creds = yaml .load (f )["search_tweets_api " ]
258258
259259 try :
260260
You can’t perform that action at this time.
0 commit comments