developer-support icon indicating copy to clipboard operation
developer-support copied to clipboard

rename: src should be string....

Open hdean83 opened this issue 5 years ago • 0 comments

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.

hdean83 avatar Jun 19 '20 14:06 hdean83