MaksG commited on
Commit
1f21438
·
verified ·
1 Parent(s): c5ebba2

Update scrape_3gpp.py

Browse files
Files changed (1) hide show
  1. scrape_3gpp.py +1 -1
scrape_3gpp.py CHANGED
@@ -75,7 +75,7 @@ def scrape(url, excel_file, folder_name, status_list, progress=gr.Progress()):
75
 
76
  if 'TDoc Status' in df.columns:
77
  # Check if status_list is empty; if so, consider all rows valid
78
- if status_list == None:
79
  print("No status list provided, considering all statuses.")
80
  # No need to filter df based on status_list, as we're considering all statuses
81
  else:
 
75
 
76
  if 'TDoc Status' in df.columns:
77
  # Check if status_list is empty; if so, consider all rows valid
78
+ if not status_list:
79
  print("No status list provided, considering all statuses.")
80
  # No need to filter df based on status_list, as we're considering all statuses
81
  else: