gmyth-stream/server/0.3/lib/gmsconfig.py
branchtrunk
changeset 828 2061bf4c30c7
parent 823 8b729aff6f81
     1.1 --- a/gmyth-stream/server/0.3/lib/gmsconfig.py	Thu Aug 23 14:24:46 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/lib/gmsconfig.py	Tue Aug 28 08:30:10 2007 +0100
     1.3 @@ -16,12 +16,11 @@
     1.4      __CONFIG_FILE__ = "server.conf"
     1.5      __CONFIG_DIRS__ =  [os.path.join (os.path.expanduser("~"), ".gms"), \
     1.6                         os.path.join ("/", "etc", "gms"), \
     1.7 -                       "."]
     1.8 +		       "."]
     1.9  
    1.10      def __init__(self):
    1.11          for path in self.__CONFIG_DIRS__:
    1.12              file_name = os.path.join (path, self.__CONFIG_FILE__)
    1.13 -            print "test config file: %s" % file_name
    1.14              if os.path.exists (file_name):
    1.15                  fp = open (file_name, "r")
    1.16                  self.config.readfp (fp)
    1.17 @@ -30,7 +29,7 @@
    1.18  
    1.19      def get_transcoded_location (self):
    1.20          try:
    1.21 -            return self.config.get("PATHS", "transcoded")
    1.22 +            return os.path.realpath (self.config.get("PATHS", "transcoded"))
    1.23          except:
    1.24              return None
    1.25      # get_transcoded_location()