Various tweaks
This commit is contained in:
parent
6bb9819501
commit
61752baa24
3 changed files with 14 additions and 2 deletions
11
bot.py
11
bot.py
|
@ -14,6 +14,7 @@ import os
|
|||
import Queue
|
||||
import sys
|
||||
import time
|
||||
import platform
|
||||
|
||||
sys.path += ['plugins'] # so 'import hook' works without duplication
|
||||
sys.path += ['lib']
|
||||
|
@ -25,6 +26,16 @@ class Bot(object):
|
|||
|
||||
print 'CloudBot %s (%s) <http://git.io/cloudbotirc>' % (__version__, __status__)
|
||||
|
||||
# print debug info
|
||||
opsys = platform.platform()
|
||||
python_imp = platform.python_implementation()
|
||||
python_ver = platform.python_version()
|
||||
architecture = ' '.join(platform.architecture())
|
||||
|
||||
print "Operating System: %s, Python " \
|
||||
"Version: %s %s, Architecture: %s" \
|
||||
"" % (opsys, python_imp, python_ver, architecture)
|
||||
|
||||
bot = Bot()
|
||||
bot.start_time = time.time()
|
||||
|
||||
|
|
Reference in a new issue