Skip to content
Snippets Groups Projects
Commit c39f3050 authored by Erik Johnston's avatar Erik Johnston Committed by Matrix
Browse files

os.environ requires a string

parent 678c8a7f
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ def main():
cache_factor = config.get("synctl_cache_factor", None)
if cache_factor:
os.environ["SYNAPSE_CACHE_FACTOR"] = cache_factor
os.environ["SYNAPSE_CACHE_FACTOR"] = str(cache_factor)
action = sys.argv[1] if sys.argv[1:] else "usage"
if action == "start":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment