code: def load_config(filename):
      '''
      Read contents of config file.
      '''
      try:
          with open(filename, 'r') as config_file:
              return json.loads(config_file.read())
      except IOError:
          pasf load_config(filename):
      '''
      Read contents of config file.
      '''
      try:
          with open(filename, 'r') as config_file:
              return json.loads(config_file.read())
      except IOError:
          pass
docs: Read contents of config file.