Skip to content

Commit

Permalink
Merge pull request #149 from doluk/patch-3
Browse files Browse the repository at this point in the history
Fix a bug for clients with realtime access
  • Loading branch information
majordoobie committed Dec 6, 2022
2 parents 60e9dc6 + 6c3ac04 commit 7f8d5e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ def __init__(

self.http = None # set in method login()
self.realtime = realtime
if realtime and self.key_scopes == "clash":
self.key_scopes = 'clash:*:verifytoken,realtime' # without that the key creation will fail due to the wrong scopes.
self.correct_tags = correct_tags
self.load_game_data = load_game_data

Expand Down

0 comments on commit 7f8d5e8

Please sign in to comment.