Skip to content

Commit 2f9d326

Browse files
authored
Merge pull request #12 from parishwolfe/Fix-dotenv
fix dotenv
2 parents 6548b25 + 6571dc7 commit 2f9d326

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

product_pipeline.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# from dotenv import load_dotenv
1+
from dotenv import load_dotenv
22
import os
33

44
from util.shopify_util import shopify_util
55
from util.printify_util import printify_util
66

77
# # Load environment variables from .env file
8-
# load_dotenv('.env')
8+
load_dotenv('.env')
99

1010
if __name__ == "__main__":
1111
"""Printify Add Product"""
@@ -46,3 +46,6 @@
4646

4747
# Publish Product in Printify (Rate Limited to 200/30min or 1 per 10 seconds)
4848
printify.publish_product(PRODUCT_ID)
49+
50+
51+
print(os.getenv("ENV_TEST"))

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
requests
2-
dotenv
2+
python-dotenv
33
ShopifyAPI
44
Pillow
55
openai==1.47.1

0 commit comments

Comments
 (0)