Skip to content

Commit

Permalink
Update d1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickwasused committed Oct 31, 2024
1 parent 1b25b04 commit d3eefbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions d1.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
from json import load
import os

if not os.environ.get("CF_API_TOKEN") or not os.environ.get("CF_ACCOUNT_ID") or not os.environ.get("CF_DATABASE_ID"):
print("missing enviroment variables")
exit(1)

client = Cloudflare(
api_token=os.environ.get("CF_API_TOKEN")
)
Expand Down

0 comments on commit d3eefbb

Please sign in to comment.