Commits

Ben Bass committed 913ad34

fix basestring reference (Py3)

Comments (0)

Files changed (1)

pylibftdi/driver.py

         """
         if libftdi_search is None:
             search_list = self._dll_list
-        elif isinstance(libftdi_search, basestring):
+        elif isinstance(libftdi_search, (str, bytes)):
             search_list = (libftdi_search,)
         else:
             search_list = libftdi_search