original_docstring: Loads the config from disk and creates a default file if
          none exists.
          
          
docstring: Loads the config from disk and creates a default file if
  none exists.
docstring_tokens: Loads the config from disk and creates a default file if none exists .
code: def load_config(self):
          """Loads the config from disk and creates a default file if
          none exists.
          
          """
          try:
              self.server.config.capture_the_flag
          except (KeyError, FileNotFoundError):
              shutil.copyfile(DEFAULT_CONFIG_FILE, CONFIG_FILE)
              self.server.config.capture_the_flag
  
          r = self.server.config.capture_the_flag.relation_between_matches
          for p1 in self.server.players.values():
              for p2 in self.server.players.values():
                  p1.entity.set_relation_to(p2.entity, r)
code_tokens: def load_config ( self ) : try : self . server . config . capture_the_flag except ( KeyError , FileNotFoundError ) : shutil . copyfile ( DEFAULT_CONFIG_FILE , CONFIG_FILE ) self . server . config . capture_the_flag r = self . server . config . capture_the_flag . relation_between_matches for p1 in self . server . players . values ( ) : for p2 in self . server . players . values ( ) : p1 . entity . set_relation_to ( p2 . entity , r )
short_docstring: Loads the config from disk and creates a default file if
  none exists.
short_docstring_tokens: Loads the config from disk and creates a default file if none exists .
comment: """Loads the config from disk and creates a default file if
          none exists.
          
          """