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

Commitf9b9219

Browse files
authored
Adding if condition to unfollow_util.py (#6182)
1 parent696c6f9 commitf9b9219

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎instapy/unfollow_util.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,8 @@ def get_users_through_dialog_with_graphql(
822822
random.shuffle(followers_list)
823823

824824
# get real amount
825-
followers_list=random.sample(followers_list,real_amount)
825+
iflen(followers_list)>real_amount:
826+
followers_list=random.sample(followers_list,real_amount)
826827

827828
fori,userinenumerate(followers_list):
828829
logger.info(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp