Rename rather than copy font file

main
Bob Mottram 2020-05-26 20:39:12 +01:00
parent aacbf8cbb9
commit 21b0f0c752
1 changed files with 1 additions and 1 deletions

View File

@ -5469,7 +5469,7 @@ class PubServer(BaseHTTPRequestHandler):
postImageFilename = filename.replace('.temp', '')
if mType == 'customFont':
copyfile(filename, postImageFilename)
os.rename(filename, postImageFilename)
print('profile POST ' + mType +
' image or font filename ' + postImageFilename)
else: