mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8: Fix all pep8 format error.
This commit is contained in:
1 parent
e99037223b
commit
e3555b2c51
36 files changed
+229
-115
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user