rastadidi commited on
Commit
b5b5bde
·
verified ·
1 Parent(s): bb7f8fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -255,8 +255,9 @@ def render_detail(job_id: str):
255
 
256
  share_url = f"https://opt-nc.github.io/avps/{numero}/"
257
  share_text = f"AVP OPT-NC — {titre} ({numero})"
258
- se = requests.utils.quote(share_text)
259
- ue = requests.utils.quote(share_url)
 
260
 
261
  share_html = f"""
262
  <div style="margin-top:16px;padding:12px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0">
 
255
 
256
  share_url = f"https://opt-nc.github.io/avps/{numero}/"
257
  share_text = f"AVP OPT-NC — {titre} ({numero})"
258
+ from urllib.parse import quote
259
+ se = quote(share_text)
260
+ ue = quote(share_url)
261
 
262
  share_html = f"""
263
  <div style="margin-top:16px;padding:12px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0">