Merge branch 'release/v10.75'
This commit is contained in:
@@ -821,7 +821,10 @@ def get_userid(access_token):
|
||||
return 0
|
||||
|
||||
|
||||
me_json = response.json()
|
||||
try:
|
||||
me_json = response.json()
|
||||
except JSONDecodeError:
|
||||
return 0
|
||||
try:
|
||||
res = me_json['data']['id']
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user