Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,7 @@ def main():
|
|
| 186 |
|
| 187 |
|
| 188 |
# Check for query parameters for file editing
|
| 189 |
-
query_params = st.
|
| 190 |
file_to_edit = query_params.get('file_to_edit', [None])[0]
|
| 191 |
|
| 192 |
if file_to_edit and os.path.exists(file_to_edit):
|
|
|
|
| 186 |
|
| 187 |
|
| 188 |
# Check for query parameters for file editing
|
| 189 |
+
query_params = st.query_params()
|
| 190 |
file_to_edit = query_params.get('file_to_edit', [None])[0]
|
| 191 |
|
| 192 |
if file_to_edit and os.path.exists(file_to_edit):
|