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