diff --git a/dopy/manager.py b/dopy/manager.py index 83c53bd..cefd804 100755 --- a/dopy/manager.py +++ b/dopy/manager.py @@ -80,7 +80,7 @@ def new_droplet(self, name, size_id, image_id, region_id, } if ssh_key_ids: # Need to be an array in v2 - if isinstance(ssh_key_ids, basestring): + if isinstance(ssh_key_ids, str): ssh_key_ids = [ssh_key_ids] if type(ssh_key_ids) == list: