summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/data/__init__.py2
-rw-r--r--jfr_playoff/generator.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/data/__init__.py b/jfr_playoff/data/__init__.py
index 88e9f24..5ab6ffe 100644
--- a/jfr_playoff/data/__init__.py
+++ b/jfr_playoff/data/__init__.py
@@ -75,7 +75,7 @@ class PlayoffData(object):
phase_pos += 1
phase_object.matches[phase_pos] = match['id']
phase_pos += 1
- PlayoffLogger.get('data').info('phase object: %s', phase_object)
+ PlayoffLogger.get('data').info('phase object from config: %s', phase_object)
self.grid.append(phase_object)
return self.grid
diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py
index 8cc0093..0d5a510 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -328,6 +328,7 @@ class PlayoffGenerator(object):
finishing_positions = {}
finishing_places = set()
for phase in grid:
+ PlayoffLogger.get('generator').info('phase object to generate: %s', phase)
grid_x = col_no * self.page['width'] + (col_no + 1) * self.page['margin'] \
if self.page.get('starting_position_indicators', None) \
else col_no * (self.page['width'] + self.page['margin'])