[gnome-games/sudoku-tube] Fix error
- From: Zhang Sen <zhangsen src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/sudoku-tube] Fix error
- Date: Wed, 22 Jul 2009 03:21:51 +0000 (UTC)
commit cfa486ad656a328b3e49d48ca0844e5d4ecce5db
Author: Zhang Sen <zh jesse gmail com>
Date: Tue Jul 21 19:01:57 2009 +0800
Fix error
gnome-sudoku/src/lib/gsudoku.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/gsudoku.py b/gnome-sudoku/src/lib/gsudoku.py
index b090cee..a1d91b8 100644
--- a/gnome-sudoku/src/lib/gsudoku.py
+++ b/gnome-sudoku/src/lib/gsudoku.py
@@ -462,7 +462,7 @@ class SudokuModel:
def _setup_virgin_grid(self, virgin):
"""both grid and initial_grid should be str"""
self._virgin_grid = [int(c) for c in virgin.split()]
- self.grid = sudoku.InteractiveSudoku(virgin, self.group_size)
+ self.grid = sudoku.InteractiveSudoku(virgin, group_size=self.group_size)
def _setup_initial_grid(self, initial_grid):
values = [int(c) for c in initial_grid.split()]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]