summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-11-02 12:17:31 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-11-02 12:17:31 -0500
commit7509f54f5173769eea7449ba37583f650d8ec478 (patch)
tree4a0b2944929fb8ffbaf15818acd8ef17e08b6422
parent2654fbc5ae79708099181ebb2594df7b0e9fe24f (diff)
combox/file.py: modded write_file.
File writes are now buffered. Addresses bug#10.
-rw-r--r--combox/file.py2
1 files changed, 1 insertions, 1 deletions
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: