developer-support
developer-support copied to clipboard
rename: src should be string....
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.