Restructured Files to prep for archive
Signed-off-by: devoalda <linuxes_mojoworld@aleeas.com>
This commit is contained in:
parent
dd2c3b1904
commit
850b26c4ca
|
@ -17,6 +17,9 @@ class file_steg:
|
|||
"xlsx",
|
||||
"csv",
|
||||
"pptx",
|
||||
"jpg",
|
||||
"jpeg",
|
||||
"gif",
|
||||
"pdf"
|
||||
]
|
||||
if file is None:
|
|
@ -4,7 +4,6 @@ import cv2
|
|||
import os
|
||||
import sys
|
||||
import wave
|
||||
import warnings
|
||||
|
||||
MAX_SESSION_SIZE = 4096 * 3
|
||||
WORKING_PATH = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "upload") + os.sep
|
||||
|
@ -13,7 +12,7 @@ WORKING_PATH = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "uplo
|
|||
supported_files = {
|
||||
"txt_files": ["txt", "py", "sql", "html", "css", "js", "php", "c", "cpp", "java", "json", "xml", "yml", "md"],
|
||||
"gen_files": ["mp3", "mp4"],
|
||||
"doc_files": ["docx", "xlsx", "pptx", "csv", "pdf"],
|
||||
"doc_files": ["docx", "xlsx", "pptx", "csv", "pdf", "jpg", "jpeg", "gif"],
|
||||
"wav_files": ["wav"],
|
||||
"image_files": ["bmp", "png"]
|
||||
}
|
||||
|
@ -188,5 +187,4 @@ def upload(filename):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.debug = True
|
||||
app.run(host="localhost", port=8000)
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 501 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
Loading…
Reference in New Issue