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":