Fixed (im)possible UnboundLocalExceptions

This commit is contained in:
A_D authored and Athanasius committed 2021-04-01 14:45:44 +01:00
1 parent 84a093a7e3
commit 53c6f85124
1 file changed
+1
+1
View File
@@ -360,6 +360,7 @@ class StatsResults(tk.Toplevel):
self.addpagerow(parent, [''])
def addpagerow(self, parent, content, align=None):
row = -1 # To silence unbound warnings
for i in range(len(content)):
label = nb.Label(parent, text=content[i])
if i == 0: