Ajustes para unificar dependencia de current_url.

This commit is contained in:
mabejoyb
2026-05-13 18:22:54 -03:00
parent 252085029a
commit dd1a529cdf
5 changed files with 82 additions and 15 deletions

View File

@@ -1239,9 +1239,7 @@ try:
docs_service, drive_service, auth_mode = get_services(cred_path, impersonated_user)
_sv("gdoc_auth_mode", auth_mode)
url = _gvs("gdoc_url", "")
if url == "":
url = _gvs("current_url", "")
url = _gvs("current_url", "")
_sv("gdoc_url_used", url)
doc_id = extract_doc_id_from_url(url)
@@ -1454,4 +1452,4 @@ except Exception as e:
SetVar("gdoc_error", str(e))
except Exception:
pass
raise
raise