diff options
-rw-r--r-- | lcm/lcm/pub/vimapi/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/vimapi/api.py b/lcm/lcm/pub/vimapi/api.py index 721ab701..51d00e47 100644 --- a/lcm/lcm/pub/vimapi/api.py +++ b/lcm/lcm/pub/vimapi/api.py @@ -20,7 +20,7 @@ from .exceptions import VimException VIM_DRIVER_BASE_URL = "openoapi/multivim/v1" def call(vim_id, tenant_id, res, method, data=''): - if data and not isinstance(a, (str, unicode)): + if data and not isinstance(data, (str, unicode)): data = json.JSONEncoder().encode(data) url = "{base_url}/{vim_id}{tenant_id}/{res}".format( base_url=VIM_DRIVER_BASE_URL, |