update cherrypy to v18.8.0

This commit is contained in:
rembo10
2023-04-20 14:59:25 +05:30
parent 2e4299efa7
commit 4d14b028ff
10 changed files with 55 additions and 36 deletions
+1 -4
View File
@@ -339,11 +339,8 @@ LoadModule python_module modules/mod_python.so
}
mpconf = os.path.join(os.path.dirname(__file__), 'cpmodpy.conf')
f = open(mpconf, 'wb')
try:
with open(mpconf, 'wb') as f:
f.write(conf_data)
finally:
f.close()
response = read_process(self.apache_path, '-k start -f %s' % mpconf)
self.ready = True