File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## [ 1.1.0] - 2016-02-25
6+ ### Fixed
7+ - Config paths
8+
59## [ 1.0.2] - 2016-02-25
610### Fixed
711- Config paths
Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ class Config(object):
55 """Allow variables assigned in .env available using
66 os.environ.get('VAR_NAME')"""
77 def __init__ (self , base_path = None ):
8- if base_path :
8+ if base_path == "test" :
99 base_path = os .path .join (os .path .dirname (__file__ ), os .pardir )
10+ elif base_path :
11+ base_path = base_path
1012 else :
11- base_path = os .path .abspath (os .path .dirname (__file__ ))
13+ base_path = os .path .join (os .path .dirname (__file__ ), os . pardir )
1214 if os .path .exists (base_path + '/.env' ):
1315 file = open (base_path + '/.env' )
1416 for line in file :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def getRequires():
99 return deps
1010
1111base_url = 'https://github.com/sendgrid/'
12- version = '1.0.2 '
12+ version = '1.1.0 '
1313setup (
1414 name = 'python_http_client' ,
1515 version = version ,
You can’t perform that action at this time.
0 commit comments