docstr: Reads the config file from disk or creates a new one.
docstr_tok: ["Reads","the","config","file","from","disk","or","creates","a","new","one","."]
code: def _get_config(self):
      """Reads the config file from disk or creates a new one."""
      filename = "{}/{}".format(self.PLUGIN_LOGDIR, CONFIG_FILENAME)
      modified_time = os.path.getmtime(filename)
  
      if modified_time != self.config_last_modified_time:
          config = read_pickle(filename, default=self.previous_config)
          self.previous_config = config
      else:
          config = self.previous_config
  
      self.config_last_modified_time = modified_time
      return config
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from ..proto.summary_pb2 import Summary
  from ..proto.summary_pb2 import SummaryMetadata
  from ..proto.tensor_pb2 import TensorProto
  from ..proto.tensor_shape_pb2 import TensorShapeProto
  import os
  import time
  import numpy
  from .file_system_tools import read_pickle, write_pickle, write_file
  from .shared_config import PLUGIN_NAME, TAG_NAME, SUMMARY_FILENAME, DEFAULT_CONFIG, CONFIG_FILENAME, SUMMARY_COLLECTION_KEY_NAME, SECTION_INFO_FILENAME
  from .None import video_writing
label_desc: Use image node_id 2 for calling the Beholder obj's underlying member method code with example usage: obj._get_config() and returns: config