def get_file_type(view):
	if not view.file_name():
		return ""
	file_path = view.file_name().replace("\\", "/").lower()
	for file_type in ["view","layout","controller"]:
		for folder in get_setting(view, "fw1_" + file_type + "_folders"):
			if file_path in "/" + folder:
				return file_type
	return ""
dataset/ETHPy150Open jcberquist/sublimetext-cfml/src/fw1/fw1.py/get_file_type/swapped operands of `in`