From 637da9ecd45fa431fe4371c9e6c4839da51701d3 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 22 Aug 2017 20:08:28 +0200 Subject: unknown player sigma env var should be int --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 58f78fc..a25873d 100644 --- a/worker.py +++ b/worker.py @@ -25,7 +25,7 @@ DOCRUNCHMATCH = os.environ.get("DOCRUNCHMATCH") == "true" CRUNCH_PLAYER_QUEUE = os.environ.get("CRUNCH_PLAYER_QUEUE") or "crunch_player" DOTELESUCKMATCH = os.environ.get("DOTELESUCKMATCH") == "true" TELESUCK_QUEUE = os.environ.get("TELESUCK_QUEUE") or "telesuck" -UNKNOWN_PLAYER_SIGMA = os.environ.get("UNKNOWN_PLAYER_SIGMA") or 500 +UNKNOWN_PLAYER_SIGMA = int(os.environ.get("UNKNOWN_PLAYER_SIGMA")) or 500 # mapping from Tier (-1 - 30) to average skill tier points vst_points = { -- cgit v1.3.1