TheYoBots commited on
Commit
150754b
·
1 Parent(s): bce5ab2

Corrections

Browse files
Files changed (2) hide show
  1. lishogi-bot.py +1 -1
  2. lishogi.py +1 -1
lishogi-bot.py CHANGED
@@ -390,7 +390,7 @@ if __name__ == "__main__":
390
  enable_color_logging(debug_lvl=logging.DEBUG if args.v else logging.INFO)
391
  logger.info(intro())
392
  CONFIG = load_config(args.config or "./config.yml")
393
- li = lichess.Lichess(CONFIG["token"], CONFIG["url"], __version__)
394
 
395
  user_profile = li.get_profile()
396
  username = user_profile["username"]
 
390
  enable_color_logging(debug_lvl=logging.DEBUG if args.v else logging.INFO)
391
  logger.info(intro())
392
  CONFIG = load_config(args.config or "./config.yml")
393
+ li = lishogi.Lishogi(CONFIG["token"], CONFIG["url"], __version__)
394
 
395
  user_profile = li.get_profile()
396
  username = user_profile["username"]
lishogi.py CHANGED
@@ -31,7 +31,7 @@ ENDPOINTS = {
31
  }
32
 
33
  # docs: https://lichess.org/api
34
- class Lichess():
35
 
36
  def __init__(self, token, url, version):
37
  self.version = version
 
31
  }
32
 
33
  # docs: https://lichess.org/api
34
+ class Lishogi():
35
 
36
  def __init__(self, token, url, version):
37
  self.version = version