pep8: Fix all pep8 format error.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-10-11 15:08:33 +02:00
1 parent e99037223b
commit e3555b2c51
36 files changed
+229 -115

No files matched your search

+5 -3
View File
@@ -70,8 +70,8 @@ class WindowToolKit(object):
stream = StringIO(data)
rows = csv.reader(stream, delimiter='\t')
for l, row in enumerate(rows):
if has_header and l == 0:
for ind, row in enumerate(rows):
if has_header and ind == 0:
header = row.copy()
continue
@@ -79,7 +79,9 @@ class WindowToolKit(object):
return header, values
def file_dialog(self, select_file=True, callback=lambda x: None, directory=None):
def file_dialog(self, select_file=True,
callback=lambda x: None,
directory=None):
"""Open a new file dialog and send result to callback function
Args: