def attach_file(self, n):
		from frappe.utils.file_manager import get_file
		res = get_file(n)
		if not res:
			return

		self.add_attachment(res[0], res[1])
The XSRF-prevention token for the current user/session.
dataset/ETHPy150Open frappe/frappe/frappe/email/email_body.py/EMail.attach_file--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py/RequestHandler.xsrf_token