Source

CherryPy / cherrypy / _cpconfig.py

Diff from to

cherrypy/_cpconfig.py

 
     def _apply(self, config):
         """Update self from a dict."""
-        if isinstance(config.get("global", None), dict):
+        if isinstance(config.get("global"), dict):
             if len(config) > 1:
                 cherrypy.checker.global_config_contained_paths = True
             config = config["global"]