Skip to content

Commit 67b85f9

Browse files
committedJan 20, 2017
yaml parsing of env var
1 parent 226ca63 commit 67b85f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎recastapi/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
import requests as httprequest
33
import traceback, sys
44
import json as json_obj
5+
import yaml
56
import os
67
import logging
78
log = logging.getLogger(__name__)
89

9-
SSL_VERIFY = os.environ['RECAST_SSL_VERIFY']
10+
SSL_VERIFY = yaml.load(os.environ['RECAST_SSL_VERIFY'])
1011

1112
def print_failure(response):
1213
print '-'*60

0 commit comments

Comments
 (0)
Please sign in to comment.