ChenyuRabbitLove commited on
Commit
29a572c
1 Parent(s): 362e527

fix: fix bug in login functionality

Browse files
Files changed (1) hide show
  1. utils/utils.py +2 -2
utils/utils.py CHANGED
@@ -222,11 +222,11 @@ def insert_data_into_bigquery(client, dataset_id, table_id, rows_to_insert):
222
 
223
  # Check if any errors occurred during insertion
224
  if errors:
225
- logging("Errors occurred while inserting rows:")
226
  for error in errors:
227
  print(error)
228
  else:
229
- logging(f"Inserted successfully.")
230
 
231
  def render_finished(player_activity, *args):
232
  player_activity.render_finished(*args)
 
222
 
223
  # Check if any errors occurred during insertion
224
  if errors:
225
+ logging.info("Errors occurred while inserting rows:")
226
  for error in errors:
227
  print(error)
228
  else:
229
+ logging.info(f"Inserted {len(rows_to_insert)} rows successfully.")
230
 
231
  def render_finished(player_activity, *args):
232
  player_activity.render_finished(*args)