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

« back to all changes in this revision

Viewing changes to bin/ivle-fetchsubmissions

  • Committer: Matt Giuca
  • Date: 2009-05-12 15:05:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1247.
  • Revision ID: matt.giuca@gmail.com-20090512150522-uszmwu25n116rggz
Encode zip filenames as UTF-8, not ASCII.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    # target_final is the directory to place the files in
64
64
    target_final = os.path.join(target,
65
65
                                submission.assessed.principal.short_name)
 
66
    target_final = target_final.encode('utf-8')
66
67
    if os.path.exists(target_final):
67
68
        # Remove the existing directory before re-checking out
68
69
        ivle.util.safe_rmtree(target_final)