0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:33:52 +01:00

os.environ requires a string

This commit is contained in:
Erik Johnston 2016-05-16 17:21:30 +01:00 committed by Matrix
parent 678c8a7f1e
commit c39f305067

View file

@ -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":