mirror of https://gitlab.com/bashrc2/epicyon
Filename for video
parent
3e7e64f5d0
commit
c6da9ce269
|
@ -12673,7 +12673,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
postImageFilename)
|
postImageFilename)
|
||||||
else:
|
else:
|
||||||
if os.path.isfile(filename):
|
if os.path.isfile(filename):
|
||||||
os.rename(filename, filename.replace('.temp', ''))
|
newFilename = filename.replace('.temp', '')
|
||||||
|
os.rename(filename, newFilename)
|
||||||
|
filename = newFilename
|
||||||
|
|
||||||
fields = \
|
fields = \
|
||||||
extractTextFieldsInPOST(postBytes, boundary,
|
extractTextFieldsInPOST(postBytes, boundary,
|
||||||
|
|
Loading…
Reference in New Issue