adds more logging

sync_v2
Laurent 6 months ago
parent 41e9179693
commit 840c42209c
  1. 2
      api/views.py

@ -410,6 +410,8 @@ def xls_to_csv(request):
file_name = default_storage.save(file_path, ContentFile(uploaded_file.read()))
logger.info(f'file saved at {file_name}')
full_path = default_storage.path(file_name)
logger.info(f'full_path = {full_path}')
# Check available sheets and look for 'inscriptions'
xls = pd.ExcelFile(file_name)

Loading…
Cancel
Save