Bug fix with context, and dependencies

legacy
Gogs 8 years ago
parent ddca8f7c09
commit c2637e12c4

@ -1,34 +1,18 @@
asn1crypto==0.22.0 appdirs==1.4.3
cffi==1.8.3 click==6.7
click==6.6
couchdbkit==0.6.5 couchdbkit==0.6.5
cryptography==1.5.3 Flask==0.12.1
enum34==1.1.6
Flask==0.11.1
get==0.0.0
http-parser==0.8.3 http-parser==0.8.3
idna==2.1
ipaddress==1.0.17
itsdangerous==0.24 itsdangerous==0.24
Jinja2==2.8 Jinja2==2.9.6
MarkupSafe==0.23 MarkupSafe==1.0
ndg-httpsclient==0.4.2
numpy==1.12.1 numpy==1.12.1
packaging==16.8 packaging==16.8
pika==0.10.0 pika==0.10.0
post==0.0.0
public==0.0.0
pyasn1==0.1.9
pycparser==2.17
pyOpenSSL==16.2.0
pyparsing==2.2.0 pyparsing==2.2.0
query-string==0.0.0 requests==2.13.0
request==0.0.0
requests==2.11.1
restkit==4.2.2 restkit==4.2.2
setupfiles==0.0.0
six==1.10.0 six==1.10.0
socketpool==0.5.3 socketpool==0.5.3
stripe==1.41.1 stripe==1.55.0
Werkzeug==0.11.11 Werkzeug==0.12.1
xmljson==0.1.7

@ -18,7 +18,7 @@ PORT = 8100 if 'port' not in PARAMS else int(PARAMS['port']) ;
path = PARAMS['path'] #os.environ['CONFIG'] path = PARAMS['path'] #os.environ['CONFIG']
f = open(path) f = open(path)
CONFIG = json.loads(f.read()) CONFIG = json.loads(f.read())
CONTEXT= ('/'+PARAMS['context']) if 'context' in PARAMS else '' CONTEXT= PARAMS['context'] if 'context' in PARAMS else ''
stripe_keys = { stripe_keys = {
'secret_key': CONFIG['stripe']['secret'].strip(), 'secret_key': CONFIG['stripe']['secret'].strip(),
'publishable_key': CONFIG['stripe']['pub'].strip() 'publishable_key': CONFIG['stripe']['pub'].strip()

Loading…
Cancel
Save