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/auth.py   onedrive-d(Download)
			API.auth_get_token()
			import pwd
			os.chown(config.HOME_PATH + "/.lcrc", pwd.getpwnam(config.LOCAL_USER).pw_uid, pwd.getpwnam(config.LOCAL_USER).pw_gid)
			win.hide_all()
			gtk.main_quit()
	global liveView
 
	if not os.path.exists(config.HOME_PATH + "/.lcrc"):
		f = open(config.HOME_PATH + "/.lcrc", "w")
		f.write("client:\n  id: " + config.APP_CREDS[0] + "\n  secret: " + config.APP_CREDS[1] + "\n")
		f.close()
		os.chown(config.HOME_PATH + "/.lcrc", pwd.getpwnam(OS_USER).pw_uid, pwd.getpwnam(OS_USER).pw_gid)
		os.chmod(config.HOME_PATH + "/.lcrc", 0600)