diff -r 9add73d88bce -r 2061bf4c30c7 gmyth-stream/server/0.3/lib/file_handler.py --- a/gmyth-stream/server/0.3/lib/file_handler.py Wed Jul 04 13:38:51 2007 +0100 +++ b/gmyth-stream/server/0.3/lib/file_handler.py Tue Aug 28 08:30:10 2007 +0100 @@ -32,14 +32,20 @@ name = os.path.basename(self.opts["uri"][0]) self.opts["original"] = [name] output_file = os.path.basename(self.opts["outfile"][0]) - output = open(".transcoded/%s.dat" % \ - os.path.splitext(output_file)[0], "wb") + dat_file = output_file + ".dat"; + dat_path = os.path.join (utils.config.get_transcoded_location(), + dat_file); + + output = open(dat_path, "wb") # dumps data using the highest protocol pickle.dump(self.opts, output, -1) output.close() else: name = os.path.splitext(os.path.basename(filename))[0] - pkl_file = open(".transcoded/%s.dat" % name, "rb") + dat_file = name + ".dat"; + dat_path = os.path.join (utils.config.get_transcoded_location(), + dat_file); + pkl_file = open(dat_path, "rb") self.opts = pickle.load(pkl_file) # __init__()