3 __author__ = "Renato Araujo Oliveira Filho"
4 __author_email__ = "renato.filho@indt.org.br"
12 __all__ = ("GmsConfig")
15 config = ConfigParser.ConfigParser()
16 __CONFIG_FILE__ = "server.conf"
19 file_name = os.path.join (os.path.expanduser("~"), ".gms", self.__CONFIG_FILE__)
20 print "test config file: %s" % file_name
21 if os.path.exists (file_name):
22 fp = open (file_name, "r")
23 self.config.readfp (fp)
26 file_name = os.path.join ("/", "etc", "gms", self.__CONFIG_FILE__)
27 print "test config file: %s" % file_name
28 if os.path.exists (file_name):
29 fp = open (file_name, "r")
30 self.config.readfp (fp)
34 def get_transcoded_location (self):
36 return self.config.get("PATHS", "transcoded")
39 # get_transcoded_location()