Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 9709d95

Browse files
fgervaisfahhem
authored andcommitted
Fix TypeError for PY3 (#97)
Traceback (most recent call last): ... File "python-adb/adb/sign_pythonrsa.py", line 30, in update self._buf += msg TypeError: Can't convert 'bytes' object to str implicitly
1 parent ee2d54e commit 9709d95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adb/sign_pythonrsa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# hashing algo for this.
2525
class _Accum(object):
2626
def __init__(self):
27-
self._buf = ''
27+
self._buf = b''
2828

2929
def update(self, msg):
3030
self._buf += msg

0 commit comments

Comments
 (0)