mirror of
https://github.com/frappe/bench.git
synced 2024-11-14 09:14:04 +00:00
fix generate_redis_config
This commit is contained in:
parent
8edfce4233
commit
d11baf400c
@ -82,5 +82,5 @@ def generate_redis_config(bench='.'):
|
|||||||
}
|
}
|
||||||
config = template.render(**conf)
|
config = template.render(**conf)
|
||||||
conf_path = os.path.join(bench, 'config', 'redis.conf')
|
conf_path = os.path.join(bench, 'config', 'redis.conf')
|
||||||
with open(conf_path) as f:
|
with open(conf_path, 'wb') as f:
|
||||||
f.write(config)
|
f.write(config)
|
||||||
|
Loading…
Reference in New Issue
Block a user