def read_config(self):
try:<EOL><INDENT>with open(self.config_file, '<STR_LIT:r>') as f:<EOL><INDENT>self.config = json.loads(f.read())<EOL>f.close()<EOL><DEDENT><DEDENT>except IOError:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Read config from file