Proof of concept developer code and samples to help be successful with all ArcGIS developer products (Python, NET, JavaScript, Android…). The repository is designed to be an exchange for sharing coding conventions and wisdom to developers at all skill levels.
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.