def __init__(self):
		self.user = None
		self.info = None
		self.full_name = None
		self.user_type = None

		if frappe.local.form_dict.get('cmd')=='login' or frappe.local.request.path=="/api/method/login":
			self.login()
			self.resume = False
		else:
			try:
				self.resume = True
				self.make_session(resume=True)
				self.set_user_info(resume=True)
			except __HOLE__:
				self.user = "Guest"
				self.make_session()
				self.set_user_info()
dataset/ETHPy150Open frappe/frappe/frappe/auth.py/LoginManager.__init__