From 7509f54f5173769eea7449ba37583f650d8ec478 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Mon, 2 Nov 2015 12:17:31 -0500 Subject: combox/file.py: modded write_file. File writes are now buffered. Addresses bug#10. --- combox/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combox/file.py b/combox/file.py index 56c58a8..adafbe6 100644 --- a/combox/file.py +++ b/combox/file.py @@ -376,7 +376,7 @@ def write_file(filename, filecontent): """ file_ = None try: - file_ = open(filename, 'wb') + file_ = open(filename, 'wb', 838860800) file_.write(filecontent) file_.close() except IOError: -- cgit v1.2.3