Unix file structure compatability

modified line 67 directory string to use 
sample_path=dirName + "/" + m.group(0) 
instead of 
sample_path=dirName + "\\" + m.group(0)
This commit is contained in:
brent-stone 2019-08-15 21:03:58 -05:00 committed by GitHub
parent ac0e55fecc
commit ca184a56de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class FileBoi:
sample_dict[(make, model, year)] = []
this_sample_index = str(len(sample_dict[(make, model, year)]))
this_sample = Sample(make=make, model=model, year=year, sample_index=this_sample_index,
sample_path=dirName + "\\" + m.group(0), kfold_n=kfold_n)
sample_path=dirName + "/" + m.group(0), kfold_n=kfold_n)
sample_dict[(make, model, year)].append(this_sample)
current_vehicle = []
else: