Updated secretary.py
Browse files- secretary.py +1 -1
secretary.py
CHANGED
|
@@ -39,7 +39,7 @@ if script_history:
|
|
| 39 |
st.download_button(
|
| 40 |
label="Download Script",
|
| 41 |
data=entry["script"],
|
| 42 |
-
file_name=f"{entry.get(
|
| 43 |
mime="text/plain"
|
| 44 |
)
|
| 45 |
|
|
|
|
| 39 |
st.download_button(
|
| 40 |
label="Download Script",
|
| 41 |
data=entry["script"],
|
| 42 |
+
file_name = f"{entry.get('title', '')}.txt",
|
| 43 |
mime="text/plain"
|
| 44 |
)
|
| 45 |
|