Fix bad parameter in bench_temp_file

Need a real fix, py.path.local.mkdtemp isn't a nice as I thought
This commit is contained in:
David Vierra 2016-02-02 14:08:46 -10:00
parent b089d6f871
commit a8ef77de10

View File

@ -28,7 +28,7 @@ atexit.register(remove_temp)
def bench_temp_file(filename):
global tmpdir
if tmpdir is None:
tmpdir = py.path.local.mkdtemp("mcedit_bench")
tmpdir = py.path.local.mkdtemp()
return copy_temp_file(tmpdir, filename)