Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite62704a

Browse files
k86tdelulcao
andauthored
Fixed#6417 (#6418)
*Fixed#6417* Updating relationship_tools.pyFollowing Black formatting guidelines.* Update CHANGELOG.md* Update __init__.pyCo-authored-by: Daniel Carvallo <elulcao@icloud.com>
1 parent8aaf40a commite62704a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The **goal** of this file is explaining to the users of our project the notable
55
_The format is based on[Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to[Semantic Versioning](https://semver.org/spec/v2.0.0.html)_
66

77

8+
##[0.6.15] - 2021-12-02
9+
10+
###Fixed
11+
12+
- Fixed`relationship_tools` to check if not`username == self_username`
13+
814
##[0.6.14] - 2021-10-18
915

1016
###Added

‎instapy/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# flake8: noqa
22

33
# __variables__ with double-quoted values will be available in setup.py
4-
__version__="0.6.14"
4+
__version__="0.6.15"
55

66
from .instapyimportInstaPy
77
from .utilimportsmart_run

‎instapy/relationship_tools.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_followers(
7979

8080
is_private=is_private_profile(browser,logger,following_status=="Following")
8181

82-
if (
82+
ifnotusername==self_usernameand(
8383
is_privateisNone
8484
or (is_privateisTrueandfollowing_statusnotin ["Following",True])
8585
or (following_status=="Blocked")
@@ -372,7 +372,7 @@ def get_following(
372372
)
373373

374374
is_private=is_private_profile(browser,logger,following_status=="Following")
375-
if (
375+
ifnotusername==self_usernameand(
376376
is_privateisNone
377377
or (is_privateisTrueandfollowing_statusnotin ["Following",True])
378378
or (following_status=="Blocked")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp