Fix deprecated Monitor API for the cem example (#453)

This commit is contained in:
futurely
2017-01-02 14:03:06 +08:00
committed by Tom Brown
parent ae8956921b
commit bb9bbce80f

View File

@@ -66,7 +66,7 @@ if __name__ == '__main__':
# directory, but can't contain previous monitor results. You can
# also dump to a tempdir if you'd like: tempfile.mkdtemp().
outdir = '/tmp/cem-agent-results'
env = wrappers.Monitor(outdir, force=True)(env)
env = wrappers.Monitor(env, outdir, force=True)
# Prepare snapshotting
# ----------------------------------------