Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit 94e8eb3

Browse files
committed
Display AI version
1 parent d73b452 commit 94e8eb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

project/tenhou/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
22
import logging
33

4+
from mahjong.ai.main import MainAI
45
from tenhou.client import TenhouClient
56
from utils.settings_handler import settings
67

@@ -10,6 +11,8 @@
1011

1112
def connect_and_play():
1213
logger.info('Bot AI enabled: {}'.format(settings.ENABLE_AI))
14+
if settings.ENABLE_AI:
15+
logger.info('AI version: {}'.format(MainAI.version))
1316

1417
client = TenhouClient()
1518
client.connect()

0 commit comments

Comments
 (0)