Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Nov 11, 2022
1 parent e4fec57 commit e798baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/github/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ async def recAuth(req: Request):
group_data = json.loads(read(DATA + "/" + i + "/jx3group.json"))
try:
if headers["type"] == "all":
if headers["leader"] != "":
if group_data["leader"] != "":
name = group_data["name"]
owner = group_data["leader"]
group = group_data["group"]
server = group_data["server"]
dict_ = {"name":name,"leader":owner,"group":group,"server":server}
final.append(dict_)
else:
if headers["leader"] != "":
if group_data["leader"] != "":
if group_data["status"] != False:
name = group_data["name"]
owner = group_data["leader"]
Expand Down

0 comments on commit e798baf

Please sign in to comment.