logger files
This commit is contained in:
@@ -119,6 +119,7 @@ def allowed_file(filename):
|
|||||||
def upload_file():
|
def upload_file():
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
logger.info('POST CALLED')
|
logger.info('POST CALLED')
|
||||||
|
logger.info(f'POST CALLED {request}')
|
||||||
# check if the post request has the file part
|
# check if the post request has the file part
|
||||||
if 'file' not in request.files:
|
if 'file' not in request.files:
|
||||||
logger.info('No file part')
|
logger.info('No file part')
|
||||||
|
|||||||
Reference in New Issue
Block a user