Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Username fix
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 11, 2012
1 parent 2b88b6b commit 8e736f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed scilab_c/.views.py.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion scilab_c/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def scilab_evaluate(request):
p.drawImage(cwd+str(graph)+".png", 1*inch,1*inch, width=5*inch,height=5*inch,mask=None)
p.showPage()
p.save()
return render_to_response('default.html',{'input':all_code, 'output':output , "graphs":graphs})
return render_to_response('default.html',{'input':all_code, 'output':output , "graphs":graphs,'username':request.session['username']})
else:
return render_to_response('default.html',{'input':all_code,'output':"error"})

Expand Down

0 comments on commit 8e736f4

Please sign in to comment.