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:
parent
b089d6f871
commit
a8ef77de10
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user