Skip to content

Commit

Permalink
fix conflict in env
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Dhandre <[email protected]>
  • Loading branch information
digitronik committed Apr 30, 2019
1 parent a40fa23 commit db55ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miqsel/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def env_file(self):

@property
def in_env(self):
""" Check env.local.yaml exist or not
""" Check we are in env or not.
:return: return bool
"""
proj_dir = os.path.dirname(self.env_file)
return os.path.isdir(proj_dir) and proj_dir == "conf"
return os.path.isdir(proj_dir)

def read(self):
"""Read Environment file
Expand Down

0 comments on commit db55ad8

Please sign in to comment.