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

device.Pull return {TypeError}coercing to Unicode: need string or buffer, file found #113

Open
@evoup

Description

@evoup

use python2.7
device.Pull(file_name, dest_file)
return {TypeError}coercing to Unicode: need string or buffer, file found

And I must use follow way to get work around:

    file_bytes = device.Pull(file_name)
    output_file = open(dest_file, "wb")
    output_file.write(file_bytes)
    output_file.close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions