~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to services/serveservice

  • Committer: William Grant
  • Date: 2009-02-17 00:28:53 UTC
  • mto: (1099.1.143 new-dispatch)
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: grantw@unimelb.edu.au-20090217002853-zpuirvhi0gj05yni
... and names for normal files too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
                        'name': zipfilename})
133
133
else:
134
134
    print cjson.encode({'content': open(filename).read(),
135
 
                        'type': determine_file_type(filename)})
 
135
                        'type': determine_file_type(filename),
 
136
                        'name': os.path.basename(filename)})