Skip to content

Commit

Permalink
Merge pull request #12 from parishwolfe/Fix-dotenv
Browse files Browse the repository at this point in the history
fix dotenv
  • Loading branch information
parishwolfe authored Sep 24, 2024
2 parents 6548b25 + 6571dc7 commit 2f9d326
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions product_pipeline.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# from dotenv import load_dotenv
from dotenv import load_dotenv
import os

from util.shopify_util import shopify_util
from util.printify_util import printify_util

# # Load environment variables from .env file
# load_dotenv('.env')
load_dotenv('.env')

if __name__ == "__main__":
"""Printify Add Product"""
Expand Down Expand Up @@ -46,3 +46,6 @@

# Publish Product in Printify (Rate Limited to 200/30min or 1 per 10 seconds)
printify.publish_product(PRODUCT_ID)


print(os.getenv("ENV_TEST"))
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
requests
dotenv
python-dotenv
ShopifyAPI
Pillow
openai==1.47.1
Expand Down

0 comments on commit 2f9d326

Please sign in to comment.