diff --git a/kappa/restapi.py b/kappa/restapi.py index fcf1f71..8c46e88 100644 --- a/kappa/restapi.py +++ b/kappa/restapi.py @@ -125,7 +125,7 @@ def create_resource_path(self): LOG.debug('build_path=%s', build_path) full_path = '/'.join(build_path) LOG.debug('full_path=%s', full_path) - if full_path is '': + if full_path == '': parent = resources['/'] else: if full_path not in resources and parent: