Skip to content

Commit

Permalink
Merge pull request #42 from developmentseed/develop
Browse files Browse the repository at this point in the history
republish 1.0.0
  • Loading branch information
matthewhanson authored Jul 26, 2018
2 parents 2b8acaa + ff2803e commit 5bf5ba8
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
import sys
import logging

# add path to included packages
pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1])
path = os.path.dirname(os.path.realpath(__file__))
libpath = os.path.join(path, 'lib/python%s/site-packages' % pyver)
sys.path.insert(0, libpath)

# set up logger
logger = logging.getLogger(__file__)
logger.setLevel(logging.DEBUG)
Expand All @@ -18,7 +12,7 @@
from osgeo import gdal


def handler(event, context):
def lambda_handler(event, context):
""" Lambda handler """
logger.debug(event)

Expand Down

0 comments on commit 5bf5ba8

Please sign in to comment.