From 834bfc7217ff40b68886e54a71949eaa809e3ae8 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 9 Sep 2018 22:49:55 +0000 Subject: lps_gen.py: Update write_file. * lps_gen.py (write_file): Change file mode to just 'w'. --- lps_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lps_gen.py') diff --git a/lps_gen.py b/lps_gen.py index d0a0f5a..dda293b 100644 --- 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: -- cgit v1.2.3