ateubert лет назад: 7
Родитель
Сommit
dab55fa798
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      maze_fertig.py

+ 1 - 1
maze_fertig.py

@@ -113,7 +113,7 @@ class Application(tk.Frame):
113 113
 #GENERIERUNG DES LABYRINTHS
114 114
 class Maze(object):
115 115
 
116
-    def __init__(self, width=21, height=21, exit_cell=(width - 2,1)):				#Initierung des Rahmens des Maze, sowie Start und Ziel Festlegung
116
+    def __init__(self, width=21, height=21, exit_cell=(self.width-2,1)):				#Initierung des Rahmens des Maze, sowie Start und Ziel Festlegung
117 117
         self.width = width
118 118
         self.height = height
119 119
         self.exit_cell = exit_cell