This commit is contained in:
yumoqing 2024-08-06 15:52:10 +08:00
parent 9c57bb4b21
commit 54a11439b6

View File

@ -15,7 +15,7 @@ import sys
def temp_file(suffix='.txt'): def temp_file(suffix='.txt'):
x = tempfile.mkstemp(suffix=suffix) x = tempfile.mkstemp(suffix=suffix)
os.close(x(0)) os.close(x[0])
return x[1] return x[1]
def filepoolpath(root): def filepoolpath(root):