X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=blobdiff_plain;f=monitor%2Futil%2Ffile.py;h=f26c71de91279b30bc102f747fd6ae5d92b4c765;hp=43ff9685119fb1616a5f7f78cb08f34a8eb60bb1;hb=45fea95bb898f254ea7e987d7417e9091885fbee;hpb=c5feffe8397bcf1be66876aec558cac6f8a41e9d diff --git a/monitor/util/file.py b/monitor/util/file.py index 43ff968..f26c71d 100644 --- a/monitor/util/file.py +++ b/monitor/util/file.py @@ -24,7 +24,7 @@ def loadFile(file): return buf def dumpFile(file, buf): - f = open(file, 'w') + f = open(file, 'wb') f.write(buf) f.close() return