Skip to content

Commit

Permalink
fix: import .env
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Dec 13, 2022
1 parent 750a0ca commit e6854ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion runpod/serverless/modules/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from dotenv import load_dotenv


load_dotenv( ) # Load environment variables
env_path = os.getcwd() + '/.env'
load_dotenv(env_path) # Load environment variables


def log(message, level='INFO'):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = runpod
version = 0.1.4
version = 0.1.5
description = Official Python library for RunPod API & SDK.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit e6854ab

Please sign in to comment.