Exemple #1
0
	def get_configuration(self):

		""" Gets settings for a session."""
 
		file_ = "%s/session.conf" % (self.session_id,)
#  try:
		log.debug("Creating config file %s" % (file_,))
		self.settings = Configuration(paths.config_path(file_), paths.app_path("session.defaults"))
		self.soundplayer = sound.soundSystem(self.settings["sound"])
Exemple #2
0
 def init_sound(self):
  try: self.sound = sound.soundSystem(self.settings["sound"])
  except: pass
 def init_sound(self):
  try: self.sound = sound.soundSystem(self.settings["sound"])
  except: pass