Skip to content

rename: src should be string.... #354

@hdean83

Description

@hdean83

I know this is likely a very stupid question - so thanks in advance if someone could help.

I am getting the following error:
TypeError Traceback (most recent call last)
In [49]:
Line 138: renameFile(currentAttachmentPath, newAttachmentPath)

In [49]:
Line 47: os.rename(currentAttachmentPath, newAttachmentPath)

TypeError: rename: src should be string, bytes or os.PathLike, not list

I think this is a case of just not understanding where the string pathways should be inserted.

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