Skip to content

Commit e6896f8

Browse files
committed
fixed location of environment import
1 parent bd163b2 commit e6896f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bootstrap/start.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
import os
33
import re
44

5+
# Load environment variable from .env file
56
from dotenv import find_dotenv, load_dotenv
7+
load_dotenv(find_dotenv())
8+
69
from masonite.request import Request
710
from masonite.routes import Route
811
from masonite.storage import Storage
912
from config import middleware
1013
from pydoc import locate
1114

12-
# Load environment variable from .env file
13-
load_dotenv(find_dotenv())
15+
1416

1517
# Run once and only once the server is ran
1618
# This will not actually compile if the libsass module in not installed

0 commit comments

Comments
 (0)