Work on event program data importing.
This commit is contained in:
@@ -161,10 +161,10 @@ def allowed_file_extension(extension: str, extension_list: list):
|
||||
async def save_file(
|
||||
file: UploadFile,
|
||||
account_id: int,
|
||||
account_id_random: str,
|
||||
link_to_type: str,
|
||||
link_to_id: int,
|
||||
link_to_id_random: str,
|
||||
account_id_random: str = None,
|
||||
link_to_id_random: str = None,
|
||||
check_allowed_extension: bool = False,
|
||||
):
|
||||
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
@@ -173,7 +173,6 @@ async def save_file(
|
||||
hosted_files_path = settings.FILES_PATH['hosted_files_root']
|
||||
# hosted_files_path = '/home/scott/tmp/hosted_files_dev/'
|
||||
log.info(f'Hosted Files Path: {hosted_files_path}')
|
||||
|
||||
log.debug(shutil.disk_usage(hosted_files_path))
|
||||
|
||||
log.debug(dir(file))
|
||||
|
||||
Reference in New Issue
Block a user