mirror of https://gitlab.com/bashrc2/epicyon
Media filenames in lower case
parent
4e5ea68dad
commit
5211451693
|
@ -329,7 +329,7 @@ def postMessageToOutbox(session, translate: {},
|
||||||
# generate a path for the uploaded image
|
# generate a path for the uploaded image
|
||||||
mPath = getMediaPath()
|
mPath = getMediaPath()
|
||||||
mediaPath = mPath + '/' + \
|
mediaPath = mPath + '/' + \
|
||||||
createPassword(16) + '.' + fileExtension
|
createPassword(16).lower() + '.' + fileExtension
|
||||||
createMediaDirs(baseDir, mPath)
|
createMediaDirs(baseDir, mPath)
|
||||||
mediaFilename = baseDir + '/' + mediaPath
|
mediaFilename = baseDir + '/' + mediaPath
|
||||||
# move the uploaded image to its new path
|
# move the uploaded image to its new path
|
||||||
|
|
Loading…
Reference in New Issue