diff --git a/trueskill.py b/trueskill.py index 3070bb7..bb13ab7 100644 --- a/trueskill.py +++ b/trueskill.py @@ -28,6 +28,7 @@ print("requires Python 2.6 or higher") sys.exit(1) +import logging from math import sqrt @@ -305,7 +306,7 @@ def SetParameters(beta=None, epsilon=None, draw_probability=None, EPSILON = DrawMargin(draw_probability, BETA) else: EPSILON = epsilon - print("EPSILON %f" % EPSILON) + logging.info("EPSILON %f" % EPSILON) if gamma is None: GAMMA = INITIAL_SIGMA / 100.0 else: