Browse Source

Fix member bug

master
Danila Fedorin 2 months ago
parent
commit
c1ff4c83a3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bot.py

+ 1
- 1
bot.py View File

@@ -118,7 +118,7 @@ def find_updates(old_json, new_json):
old_stars = all_stars(old_json)
new_stars = all_stars(new_json)

join = [new_json['members'][m] for m in new_json['members'] if m not in old_json['members']]
join = [new_json['members'][m]['name'] for m in new_json['members'] if m not in old_json['members']]
early_stars = [ star for star in detect_early_stars(new_stars)
if star[1] not in old_stars
and star[1][0] not in join ]

Loading…
Cancel
Save