sethmlarson / virtualbox-python

Complete implementation of VirtualBox's COM API with a Pythonic interface.
https://pypi.org/project/virtualbox
Apache License 2.0
354 stars 75 forks source link

Bug spotted #24

Closed danikdanik closed 10 years ago

danikdanik commented 10 years ago

In clone() (library_ext/machine.py), there is a wrong check of snapshot_name_or_id for if it's in a list of [str, unicode], instead of checking whether it's an instance of str or unicode (which is the check I believe the author intended to do).