Commit 578921cb authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

Change .env file for solve issues with scrapyd-deploy

parent 99262c05
...@@ -83,6 +83,7 @@ celerybeat-schedule ...@@ -83,6 +83,7 @@ celerybeat-schedule
# dotenv # dotenv
.env .env
env.py
# virtualenv # virtualenv
.venv .venv
......
...@@ -13,7 +13,7 @@ import os ...@@ -13,7 +13,7 @@ import os
from os.path import join, dirname from os.path import join, dirname
from dotenv import load_dotenv from dotenv import load_dotenv
dotenv_path = join(dirname(__file__), '.env') dotenv_path = join(dirname(__file__), 'env.py')
load_dotenv(dotenv_path) load_dotenv(dotenv_path)
def get_env(name): def get_env(name):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment