Renamed cellgroup.py and CellConstraint.
[pseudoku.git] / pseudoku / render / text.py
index aab6c36..2c8a6fd 100644 (file)
@@ -21,8 +21,8 @@ class AsciiArtGridRenderer(SquareGridRenderer):
     """
 
     def inside_grid(self, grid):
-        box_header = '+' + '-' * grid._box_width
-        return box_header * grid._box_height + '+\n'
+        box_header = '+' + '-' * grid.box_width
+        return box_header * grid.box_height + '+\n'
 
     def inside_row(self, row):
         return '|'
@@ -31,7 +31,7 @@ class AsciiArtGridRenderer(SquareGridRenderer):
         return '|\n'
 
     def inside_cell(self, cell):
-        if cell.value:
+        if cell.solved:
             return symbols[cell.value]
         else:
             return ' '