#!/usr/bin/env python

"""
    Braintree Django Python Module
"""

import braintree

from django.conf import settings

VERSION = "1.0"

if not hasattr(braintree.Configuration, "merchant_id"):
    braintree.Configuration.configure(
        getattr(settings, "BRAINTREE_ENV", braintree.Environment.Sandbox),
        getattr(settings, "BRAINTREE_MERCHANT", ""),
        getattr(settings, "BRAINTREE_PUBLIC_KEY", ""),
        getattr(settings, "BRAINTREE_PRIVATE_KEY", ""),
    )

    if getattr(settings, "BRAINTREE_UNSAFE", False):
        braintree.Configuration.use_unsafe_ssl = True


#!/usr/bin/env python

"""
    Braintree Django Python Module
"""

import braintree

from django.conf import settings

VERSION = "1.1"

if not hasattr(braintree.Configuration, "merchant_id"):
    braintree.Configuration.configure(
        getattr(settings, "BRAINTREE_ENV", braintree.Environment.Sandbox),
        getattr(settings, "BRAINTREE_MERCHANT", ""),
        getattr(settings, "BRAINTREE_PUBLIC_KEY", ""),
        getattr(settings, "BRAINTREE_PRIVATE_KEY", ""),
    )

    if getattr(settings, "BRAINTREE_UNSAFE_SSL", False):
        braintree.Configuration.use_unsafe_ssl = True


Fix small typo to make unsafe SSL really work, minor version bump
Fix small typo to make unsafe SSL really work, minor version bump
