ppsingh commited on
Commit
a64ae04
β€’
1 Parent(s): 1eb027c

Update appStore/policyaction.py

Browse files
Files changed (1) hide show
  1. 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('filename'))[0]+'.xlsx')
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('filename'))[0]+'.xlsx')
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")