def updateMods(csv_file, directory): # Updates a specific mod available_mods = [] installed_mods = [] available_csv = fh.getCSVList("mods.csv") installed_csv = fh.getCSVList("installed_mods.csv") dirs = os.listdir(directory) for i in available_csv[0]: available_mods.append(i) for j in installed_csv[0]: installed_mods.append(j) print(installed_mods + " | " + available_mods)