summaryrefslogtreecommitdiff
path: root/jfr_playoff/generator.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-07-06 03:22:38 +0200
committeremkael <emkael@tlen.pl>2018-07-06 03:22:38 +0200
commitf883784164de0a72ce61e8b225435de337ead2ed (patch)
tree89e20f53c27f53db478b8c1e46c2da1c0328e3be /jfr_playoff/generator.py
parentac0733c36b6200aecb2c738a549d00d7c2e6be98 (diff)
Rendering position box independent from starting/finishing role
Diffstat (limited to 'jfr_playoff/generator.py')
-rw-r--r--jfr_playoff/generator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py
index 6a184fb..b72c34d 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -145,7 +145,8 @@ class PlayoffGenerator(object):
'STARTING_POSITION_BOX',
0,
int(float(order) / float(len(positions)) * dimensions[1]),
- place, place)
+ place,
+ self.p_temp.get('POSITION_BOX', place))
order += 1
return boxes