@@ -471,7 +471,7 @@ def fancy_unflatten(self, with_cell_source_map, with_heading_source_map):
471
471
if not key in row_source_map :
472
472
row_source_map [key ] = []
473
473
if with_heading_source_map :
474
- # Prepeare header_source_map key
474
+ # Prepare header_source_map key
475
475
header_path_parts = []
476
476
for x in path :
477
477
try :
@@ -859,7 +859,7 @@ def get_sheet_lines(self, sheet_name):
859
859
for row in worksheet [configuration_line :]
860
860
if len (row ) > skip_rows
861
861
]
862
- longest_horizonal_row = max (
862
+ longest_horizontal_row = max (
863
863
len (row ) for row in worksheet [configuration_line :]
864
864
)
865
865
remaining_rows = [
@@ -868,7 +868,7 @@ def get_sheet_lines(self, sheet_name):
868
868
for row in worksheet [configuration_line :]
869
869
if row
870
870
]
871
- for i in range (1 , longest_horizonal_row )
871
+ for i in range (1 , longest_horizontal_row )
872
872
]
873
873
else :
874
874
header_row = worksheet [skip_rows + configuration_line ]
@@ -948,7 +948,7 @@ def unflatten_main_with_parser(parser, line, timezone, xml, id_name):
948
948
except IndexError :
949
949
next_path_item = ""
950
950
951
- # Quick solution to avoid casting of date as datetinme in spreadsheet > xml
951
+ # Quick solution to avoid casting of date as datetime in spreadsheet > xml
952
952
if xml :
953
953
if type (cell .cell_value ) == datetime .datetime and not next_path_item :
954
954
if "datetime" not in str (path ):
@@ -1147,7 +1147,7 @@ def to_list(self):
1147
1147
1148
1148
1149
1149
def temporarydicts_to_lists (nested_dict ):
1150
- """ Recrusively transforms TemporaryDicts to lists inplace. """
1150
+ """ Recursively transforms TemporaryDicts to lists inplace. """
1151
1151
for key , value in nested_dict .items ():
1152
1152
if isinstance (value , Cell ):
1153
1153
continue
0 commit comments