OAuth2Util/OAuth2Util.py
def _change_value(self, key, value):
		"""
		Change the value of the given key in the given file to the given value
		"""
		if not self.config.has_section(key[0]):
			self.config.add_section(key[0])

		self.config.set(key[0], key[1], str(value))

		with open(self.configfile, "w") as f:
			self.config.write(f)
def _change_value(self, key, value):
		if not self.config.has_section(key[0]):
			self.config.add_section(key[0])

		self.config.set(key[0], key[1], str(value))

		with open(self.configfile, "w") as f:
			self.config.write(f)
def _change_value ( self , key , value ) : if not self . config . has_section ( key [ 0 ] ) : self . config . add_section ( key [ 0 ] ) self . config . set ( key [ 0 ] , key [ 1 ] , str ( value ) ) with open ( self . configfile , "w" ) as f : self . config . write ( f )
Change the value of the given key in the given file to the given value
Change the value of the given key in the given file to the given value