Skip to content

Commit

Permalink
Update instatweet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TDKorn committed Jul 19, 2022
1 parent 2e86bcf commit 64aa0ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions InstaTweet/instatweet.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def load(cls, profile_name: str, local: bool = True) -> "InstaTweet":
return cls(profile=Profile.load(name=profile_name, local=local))

def get_proxies(self) -> Optional[dict]:
"""Retrieve proxies using the loaded :class:`Profile` settings"""
"""Retrieve proxies using the loaded :class:`~.Profile` settings"""
return utils.get_proxies(
env_key=self.profile.proxy_key
)
Expand All @@ -70,8 +70,8 @@ def start(self) -> None:
if any are new. If there's new posts, the content from them will be downloaded and tweeted
**Notes**
* The :class:`Profile` is only saved upon successfully downloading and tweeting a post
- This allows any failed attempts to be retried in the next call to :meth:`~.start`
* The :class:`~.Profile` is only saved upon successfully downloading and tweeting a post
- This allows any failed attempts to be retried in the next call to :meth:`~start`
* Error handling/printing is done by :meth:`~.download_post` and :meth:`~.send_tweet`
"""
profile = self.profile
Expand Down

0 comments on commit 64aa0ed

Please sign in to comment.