Skip to content

Commit a8638e3

Browse files
move file name to consts
1 parent d18736c commit a8638e3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/consts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
web_form_config_file = "web-form-config.json"
2828

29+
order_form_html_file = "order_form.html"
30+
2931
# Base uri for callback function
3032
base_uri_suffix = "/restapi"
3133

app/eSignature/examples/eg038_responsive_signing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
)
1616
from flask import session, url_for, request
1717

18-
from ...consts import authentication_method, demo_docs_path, pattern, signer_client_id
18+
from ...consts import authentication_method, demo_docs_path, order_form_html_file, pattern, signer_client_id
1919
from ...docusign import create_api_client
2020

2121

@@ -37,7 +37,7 @@ def get_args():
3737
"cc_name": cc_name,
3838
"signer_client_id": signer_client_id,
3939
"ds_return_url": url_for("ds.ds_return", _external=True),
40-
"doc_file": path.join(demo_docs_path, "order_form.html")
40+
"doc_file": path.join(demo_docs_path, order_form_html_file)
4141
}
4242
args = {
4343
"account_id": session["ds_account_id"],

0 commit comments

Comments
 (0)