Update appStore/policyaction.py
Browse files- appStore/policyaction.py +2 -2
appStore/policyaction.py
CHANGED
@@ -151,7 +151,7 @@ def action_display():
|
|
151 |
st.write('-------------')
|
152 |
st.download_button(label='π₯ Download Result',
|
153 |
data=df_xlsx ,
|
154 |
-
file_name= os.path.splitext(st.session_state
|
155 |
|
156 |
else:
|
157 |
st.info("π€ No Actions found")
|
@@ -232,7 +232,7 @@ def policy_display():
|
|
232 |
st.write('-------------')
|
233 |
st.download_button(label='π₯ Download Result',
|
234 |
data=df_xlsx ,
|
235 |
-
file_name= os.path.splitext(st.session_state
|
236 |
|
237 |
else:
|
238 |
st.info("π€ No Policy/Plans found")
|
|
|
151 |
st.write('-------------')
|
152 |
st.download_button(label='π₯ Download Result',
|
153 |
data=df_xlsx ,
|
154 |
+
file_name= os.path.splitext(st.session_state['filename'])[0]+'.xlsx')
|
155 |
|
156 |
else:
|
157 |
st.info("π€ No Actions found")
|
|
|
232 |
st.write('-------------')
|
233 |
st.download_button(label='π₯ Download Result',
|
234 |
data=df_xlsx ,
|
235 |
+
file_name= os.path.splitext(st.session_state['filename'])[0]+'.xlsx')
|
236 |
|
237 |
else:
|
238 |
st.info("π€ No Policy/Plans found")
|