lpschedule-generator

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

commit d5daeab70c064a427d49565ef5bf8e03e64356d6
parent 834bfc7217ff40b68886e54a71949eaa809e3ae8
Author: rsiddharth <rsd@gnu.org>
Date:   Sun,  9 Sep 2018 22:50:34 +0000

* lps_gen.py: Update read_file.

* lps_gen.py (read_file): Change file mode to just 'r'.

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

diff --git a/lps_gen.py b/lps_gen.py @@ -44,7 +44,7 @@ def read_file(filename): content = '' try: - with open(filename, 'rb') as f: + with open(filename, 'r') as f: for line in f: content = content + line except IOError: