derek-thomas HF staff commited on
Commit
91a4dd8
1 Parent(s): 32235fd

Re-ordering logging

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -67,8 +67,8 @@ def main(date_to_fetch):
67
 
68
  # Load the existing dataset from the Hugging Face hub or create a new one
69
  try:
70
- logger.info("Loading existing dataset")
71
  dataset = load_dataset(dataset_name)
 
72
  if "__index_level_0__" in dataset["all_days"].column_names:
73
  dataset = dataset.remove_columns(["__index_level_0__"])
74
  except FileNotFoundError:
 
67
 
68
  # Load the existing dataset from the Hugging Face hub or create a new one
69
  try:
 
70
  dataset = load_dataset(dataset_name)
71
+ logger.info("Loading existing dataset")
72
  if "__index_level_0__" in dataset["all_days"].column_names:
73
  dataset = dataset.remove_columns(["__index_level_0__"])
74
  except FileNotFoundError: