diff --git a/video_metadata/views/file_listing.py b/video_metadata/views/file_listing.py index 24b65be..aa00514 100644 --- a/video_metadata/views/file_listing.py +++ b/video_metadata/views/file_listing.py @@ -35,9 +35,9 @@ def getFolderJSON(subpath = ''): full_path = os.path.join(video_path, subpath) errors, paths = [], [] - current_app.logger.debug('video_path: {}'.format(video_path)) - current_app.logger.debug('subpath: {}'.format(subpath)) - current_app.logger.debug('full_path: {}'.format(full_path)) + current_app.logger.debug( + 'video_path: {}, subpath: {}, full_path: {}'.format(video_path, subpath, full_path) + ) # validate input if re.search('\.\.', subpath) or not os.path.exists(full_path):