Skip to content

Commit 906af9a

Browse files
remove doc_file from args
1 parent a8638e3 commit 906af9a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/eSignature/examples/eg038_responsive_signing.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ def get_args():
3636
"cc_email": cc_email,
3737
"cc_name": cc_name,
3838
"signer_client_id": signer_client_id,
39-
"ds_return_url": url_for("ds.ds_return", _external=True),
40-
"doc_file": path.join(demo_docs_path, order_form_html_file)
39+
"ds_return_url": url_for("ds.ds_return", _external=True)
4140
}
4241
args = {
4342
"account_id": session["ds_account_id"],
@@ -213,7 +212,7 @@ def make_envelope(cls, args):
213212

214213
@classmethod
215214
def get_html_content(cls, args):
216-
with open(args["doc_file"], "r") as file:
215+
with open(path.join(demo_docs_path, order_form_html_file), "r") as file:
217216
doc_html = file.read()
218217

219218
return doc_html.replace("{signer_name}", args["signer_name"]) \

0 commit comments

Comments
 (0)