Skip to content

报这个错误怎么解决,求大佬!! #109

Description

@songguowei

PS E:\python\Douyin-Bot-master> python douyin-bot.py
检查设备是否连接...
Traceback (most recent call last):
File "douyin-bot.py", line 33, in
adb.test_device()
File "E:\python\Douyin-Bot-master\common\auto_adb.py", line 49, in test_device
if output[0].decode('utf8') == 'List of devices attached\n\n':
AttributeError: 'str' object has no attribute 'decode'
PS E:\python\Douyin-Bot-master>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions