mirror of https://gitlab.com/bashrc2/epicyon
Rename rather than copy font file
parent
aacbf8cbb9
commit
21b0f0c752
|
@ -5469,7 +5469,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
postImageFilename = filename.replace('.temp', '')
|
postImageFilename = filename.replace('.temp', '')
|
||||||
if mType == 'customFont':
|
if mType == 'customFont':
|
||||||
copyfile(filename, postImageFilename)
|
os.rename(filename, postImageFilename)
|
||||||
print('profile POST ' + mType +
|
print('profile POST ' + mType +
|
||||||
' image or font filename ' + postImageFilename)
|
' image or font filename ' + postImageFilename)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue