ateubert пре 7 година
родитељ
комит
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