Warning about existing folder doesn't show folder if path was given with an ending /
Compare:
>>> publish(['README.md'],'./export/',A,'Smiley')
C:\git\NFDI4ing\plot_ID_python\plotid\publish.py:132: UserWarning: Folder "" already exists – plot has already been published.
warnings.warn(f'Folder "{self.dst_dirname}" already exists – '
Do you want to overwrite the existing folder? (yes/no[default])
[...]
>>> publish(['README.md'],'./export',A,'Smiley')
C:\git\NFDI4ing\plot_ID_python\plotid\publish.py:132: UserWarning: Folder "export" already exists – plot has already been published.
warnings.warn(f'Folder "{self.dst_dirname}" already exists – '
Do you want to overwrite the existing folder? (yes/no[default])
In the second warning the folder name was printed, where in the first just empty "" are printed.