From afb2fa786ce8d24884df2fa13845cd3bb7cd7f59 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Fri, 23 Jan 2015 16:15:31 -0500 Subject: [PATCH] messenger/make.py: Corrected to decode str as opposed to trying to decode a file, which is not allowed. --- messenger/make.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/messenger/make.py b/messenger/make.py index fa686be..8b65b9e 100755 --- a/messenger/make.py +++ b/messenger/make.py @@ -25,7 +25,8 @@ # Open the configure file and start parsing config = open(os.path.join(messenger_dir, 'local.cfg'), 'r') -for line in config.decode('utf-8'): +for line in config: + line = line.decode('utf-8') path = line.split('=') if path[0] == "MATLAB_BIN":