Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
|
|
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...")
|