User:WindBOT/CoreSource: Difference between revisions
From the Portal Wiki
More actions
m +keepcalitalization |
m shit |
||
| Line 84: | Line 84: | ||
def getTempFilename(): | def getTempFilename(): | ||
global config | global config | ||
f = tempfile.mkstemp(prefix=config[' | f = tempfile.mkstemp(prefix=config['tempPrefix']) | ||
os.close(f[0]) # Damn you Python I just want a filename | os.close(f[0]) # Damn you Python I just want a filename | ||
return f[1] | return f[1] | ||