Skip to content

docs: import os in the README webhook sample - #15

Open
pietechsolution wants to merge 1 commit into
mainfrom
docs/readme-webhook-import-os
Open

pietechsolution wants to merge 1 commit into
mainfrom
docs/readme-webhook-import-os

Conversation

@pietechsolution

Copy link
Copy Markdown
Contributor

The Flask webhook sample in the README reads os.environ["SEATLAYER_WEBHOOK_SECRET"] but did not import os, so a copied handler raised NameError on its first delivery. The sample now starts with import os.

README only. No code or package change.

Checked: the block parses with Python's ast, and os is both used and imported.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants