Working on Aether configs

This commit is contained in:
Scott Idem
2022-07-07 14:47:40 -04:00
parent 8598a39b1e
commit ead68b24a3
6 changed files with 106 additions and 43 deletions

View File

@@ -143,7 +143,7 @@ async def download_event_file(
if event_file_id := redis_lookup_id_random(record_id_random=event_file_id, table_name='event_file'): pass
else: return mk_resp(data=None, status_code=404, response=commons.response, status_message='The event_file ID was invalid or not found.')
hosted_files_path = settings.PATH_HOSTED_FILES_ROOT
hosted_files_path = settings.FILES_PATH['hosted_files_root']
log.info(f'Hosted Files Path: {hosted_files_path}')
if event_file_obj := load_event_file_obj(

View File

@@ -79,7 +79,7 @@ async def get_qr(
if account_id := redis_lookup_id_random(record_id_random=account_id_random, table_name='account'): pass
else: return mk_resp(data=None, status_code=404, response=response, status_message='The account ID was invalid or not found.')
hosted_tmp_root_path = settings.PATH_HOSTED_TMP_ROOT
hosted_tmp_root_path = settings.FILES_PATH['hosted_tmp_root']
log.info(f'Hosted Tmp Root Path: {hosted_tmp_root_path}')
if os.path.exists(hosted_tmp_root_path):