Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hdean83 opened this issue Jun 19, 2020 · 0 comments
Open

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

hdean83 opened this issue Jun 19, 2020 · 0 comments

Comments

@hdean83
Copy link

hdean83 commented Jun 19, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant