csv_files = Path.cwd() / 'config' / 'features'
list_of_names = []
for csv_file in listdir(csv_files):
- with open(csv_file, "r") as f:
+ with open(csv_files / csv_file, "r") as f:
reader = DictReader(f, delimiter=',')
list_of_names.extend([row['name'] for row in reader])
if len(list_of_names) != len(set(list_of_names)):