Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/o/n/onedrive-d-HEAD/onedrive_d/daemon.py   onedrive-d(Download)
	def e_update_quota(self, widget=None, event=None):
		quota = config.QUOTA
		usedPercentage = float(quota["free"]) / quota["total"] * 100
		totalSize = "%.2fGiB" % (float(quota["total"]) / 1073741824)
		self.item_quota.set_label("%.1f%% of %s Free" % (usedPercentage, totalSize))
		API = onedrive.api_v5.PersistentOneDriveAPI.from_conf("~/.lcrc")
		quota = API.get_quota()
		config.QUOTA["free"] = quota[0]
		config.QUOTA["total"] = quota[1]
		config.AUTHENTICATED = True
				API = onedrive.api_v5.PersistentOneDriveAPI.from_conf("~/.lcrc")
				quota = API.get_quota()
				config.QUOTA["free"] = quota[0]
				config.QUOTA["total"] = quota[1]
				config.AUTHENTICATED = True