diff options
| author | 2019-05-30 17:11:08 +0100 | |
|---|---|---|
| committer | 2019-05-30 17:11:08 +0100 | |
| commit | abccdbb52e3c037d61fe18f423651f471b5edce0 (patch) | |
| tree | 23001d4e18ac4ad9fc76fba0a230ae4b8c8d9e2a /start.py | |
| parent | Log BitBot and Python version at startup (diff) | |
| signature | ||
Check sys.version_info is greater-than-or-equal-to v3.6.0
Diffstat (limited to 'start.py')
| -rwxr-xr-x | start.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,10 @@ if not log_level: log = Logging.Log(not args.no_logging, log_level, args.log_dir) +if sys.version_info < (3, 6): + sys.stderr.write("BitBot requires python 3.6.0 or later\n") + sys.exit(1) + log.info("Starting BitBot %s (Python v%s)", [IRCBot.VERSION, platform.python_version()]) |
