lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 834bfc7217ff40b68886e54a71949eaa809e3ae8
parent 9339655f0dacfaadc939543639ecb6759c955610
Author: rsiddharth <rsd@gnu.org>
Date:   Sun,  9 Sep 2018 22:49:55 +0000

lps_gen.py: Update write_file.

* lps_gen.py (write_file): Change file mode to just 'w'.

Diffstat:
lps_gen.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lps_gen.py b/lps_gen.py @@ -64,7 +64,7 @@ def write_file(filename, filecontent): """ file_ = None try: - file_ = open(filename, 'wb') + file_ = open(filename, 'w') file_.write(filecontent) file_.close() except IOError: