1
0
Fork 0

Log Python version

This commit is contained in:
nemunaire 2016-03-06 17:07:20 +01:00
parent 2c3d61495f
commit 5fae67255b
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ class Bot(threading.Thread):
threading.Thread.__init__(self)
logger.info("Initiate nemubot v%s", __version__)
logger.info("Initiate nemubot v%s (running on Python %s.%s.%s)",
__version__,
sys.version_info.major, sys.version_info.minor, sys.version_info.micro)
self.verbosity = verbosity
self.stop = None