bluenevus commited on
Commit
eb4ebca
·
verified ·
1 Parent(s): e4572ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -162,7 +162,8 @@ def delete_url(n_clicks):
162
  c.execute("DELETE FROM links WHERE id = ?", (delete_id,))
163
  conn.commit()
164
  conn.close()
165
- return update_url_list(None, None, None)
 
166
 
167
  if __name__ == '__main__':
168
  print("Starting the Dash application...")
 
162
  c.execute("DELETE FROM links WHERE id = ?", (delete_id,))
163
  conn.commit()
164
  conn.close()
165
+ # Fix: Pass all required arguments to update_url_list
166
+ return update_url_list(None, '', None, None)
167
 
168
  if __name__ == '__main__':
169
  print("Starting the Dash application...")