From: <ch...@us...> - 2010-09-01 13:31:27
|
Revision: 383 http://virtplayground.svn.sourceforge.net/virtplayground/?rev=383&view=rev Author: chozone Date: 2010-09-01 13:31:15 +0000 (Wed, 01 Sep 2010) Log Message: ----------- Fixed checksum function in client. Modified Paths: -------------- trunk/client/functions.py Modified: trunk/client/functions.py =================================================================== --- trunk/client/functions.py 2010-08-31 18:34:36 UTC (rev 382) +++ trunk/client/functions.py 2010-09-01 13:31:15 UTC (rev 383) @@ -54,7 +54,7 @@ def file_checksum(*dir): # Read the file in chunks of 32KB - f = file(real_path(*dir)) + f = file(real_path(*dir), 'rb') checksum = md5() while 1: data = f.read(32768) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |