2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 16:56:33 +00:00

fix generate_redis_config

This commit is contained in:
Pratik Vyas 2015-03-04 17:23:17 +05:30
parent 8edfce4233
commit d11baf400c

View File

@ -82,5 +82,5 @@ def generate_redis_config(bench='.'):
}
config = template.render(**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)