File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ def files_table(self) -> str:
231231 for root , _ , files in os .walk (self .dir_main ):
232232 for file in files :
233233 if file .endswith (".csv" ):
234- path_in_main = root / file
234+ path_in_main = Path ( root ) / file
235235 relative_path = os .path .relpath (path_in_main , self .dir_main )
236236 index_str = "../" + "/" .join (str (relative_path ).split ("/" )[1 :])
237237 path_in_feature = self .dir_feature / relative_path
@@ -306,7 +306,7 @@ def files_table(self) -> str:
306306 for root , _ , files in os .walk (self .dir_feature ):
307307 for file in files :
308308 if file .endswith (".csv" ):
309- path_in_feature = root / file
309+ path_in_feature = Path ( root ) / file
310310 relative_path = os .path .relpath (path_in_feature , self .dir_feature )
311311 index_str = "../" + "/" .join (str (relative_path ).split ("/" )[1 :])
312312
You can’t perform that action at this time.
0 commit comments