in wadebug/config.py [0:0]
def create_default_config_file(self):
try:
config_file_stream = pkg_resources.resource_string(
__name__, self.SAMPLE_CONFIG_FILE
)
with open(self.CONFIG_FILE, "wb") as f:
f.write(config_file_stream)
return True
except Exception as e:
self._config_create_exception = e
return False