gmyth-stream/server/0.3/lib/request_handler.py
branchtrunk
changeset 779 938f13e4a376
parent 774 366b0fd1eead
child 795 2b4e9d183146
     1.1 --- a/gmyth-stream/server/0.3/lib/request_handler.py	Wed Jul 04 08:38:36 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/lib/request_handler.py	Wed Jul 04 15:14:22 2007 +0100
     1.3 @@ -340,9 +340,10 @@
     1.4                  self.end_headers()
     1.5  
     1.6                  try:
     1.7 -                    opts = files.TranscodedFile(filename, self.query).opts
     1.8 +                    opts = files.TranscodedFile(file_dat[0], self.query).opts
     1.9                      for key in opts.keys():
    1.10 -                        self.wfile.write("%s=%s<br>" % (key, opts.get(key, "None")))
    1.11 +                        self.wfile.write("%s=%s<br>" % (key, opts.get(key, "None")[0]))
    1.12 +
    1.13                  except Exception, e:
    1.14                      self.send_error(500, str(e))
    1.15                      return