1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

Fixed (im)possible UnboundLocalExceptions

This commit is contained in:
A_D 2020-10-07 15:20:32 +02:00 committed by Athanasius
parent 84a093a7e3
commit 53c6f85124

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: