divided function into utilies in order to add a new API
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv(".env")
|
||||
def load_env():
|
||||
TMDB_KEY = os.getenv('TMDB_KEY')
|
||||
DOMAIN = os.getenv('DOMAIN')
|
||||
return TMDB_KEY, DOMAIN
|
||||
Reference in New Issue
Block a user