diff -r 8b729aff6f81 -r 2061bf4c30c7 gmyth-stream/server/0.3/lib/gmsconfig.py --- a/gmyth-stream/server/0.3/lib/gmsconfig.py Thu Aug 23 14:24:46 2007 +0100 +++ b/gmyth-stream/server/0.3/lib/gmsconfig.py Tue Aug 28 08:30:10 2007 +0100 @@ -16,12 +16,11 @@ __CONFIG_FILE__ = "server.conf" __CONFIG_DIRS__ = [os.path.join (os.path.expanduser("~"), ".gms"), \ os.path.join ("/", "etc", "gms"), \ - "."] + "."] def __init__(self): for path in self.__CONFIG_DIRS__: file_name = os.path.join (path, self.__CONFIG_FILE__) - print "test config file: %s" % file_name if os.path.exists (file_name): fp = open (file_name, "r") self.config.readfp (fp) @@ -30,7 +29,7 @@ def get_transcoded_location (self): try: - return self.config.get("PATHS", "transcoded") + return os.path.realpath (self.config.get("PATHS", "transcoded")) except: return None # get_transcoded_location()