On Mar 20, 8:48 am, "Caz" <[EMAIL PROTECTED]> wrote:
> Hi Lorenzo
>
> I suspect its not that you are uploading 2 files, but which files u
> upload.
>
> The line
> print "%s %s %s %s" % (k, new_data[k]["filename"],new_data[k]["content-
> type"], new_data[k]["content"])
> Will print the actual content of the file you are uploading.
>
> Now if thats an image or binary file the char \x07 will appear in it.
> Which is system beep.(Printing char \x07 will make windows beep, Dell
> does not play nicely with system beep, no way to mute it, I know, I
> have one.)

Thanks Caz, this makes sense and it's confirmed by the fact that
uploading a non binary file didn't produce any beep even having the
print statement.

I've removed the print statement now and everything is fine ;-)

Thanks a lot,
L.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to