diff --git a/lambder/lambder.py b/lambder/lambder.py index 12cd8ca..e531739 100644 --- a/lambder/lambder.py +++ b/lambder/lambder.py @@ -351,11 +351,12 @@ def deploy_function(self, name, bucket, timeout, memory, description): self._put_role_policy(role, policy_name, policy_doc) # create or update the lambda function + timeout_i = int(timeout) if self._lambda_exists(name): - self._update_lambda(name, bucket, s3_key, timeout, memory, description) + self._update_lambda(name, bucket, s3_key, timeout_i, memory, description) else: time.sleep(5) # wait for role to be created - self._create_lambda(name, bucket, s3_key, role.arn, timeout, memory, description) + self._create_lambda(name, bucket, s3_key, role.arn, timeout_i, memory, description) # List only the lambder functions, i.e. ones starting with 'Lambder-' def list_functions(self): diff --git a/setup.py b/setup.py index 7bfe9aa..dbe3dbd 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='lambder', - version='1.1.0', + version='1.1.1', url='https://github.com/LeafSoftware/python-lambder', license='MIT', author='Chris Chalfant',