Closed hfutxqd closed 4 years ago
@hfutxqd the following code is not working
adb = adbutils.adb
In [4]: list(adb.reverse_list())
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-17324f36d6f7> in <module>
----> 1 list(adb.reverse_list())
~/Projects/adbutils/adbutils/__init__.py in reverse_list(self, serial)
351 def reverse_list(self, serial: Union[None, str] = None):
352 with self._connect() as c:
--> 353 c.send("host:transport:" + serial)
354 c.check_okay()
355 c.send("reverse:list-forward")
TypeError: can only concatenate str (not "NoneType") to str
add support for reversing host port to device port