artefactual / automation-tools

Tools to aid automation of Archivematica and AtoM.
GNU Affero General Public License v3.0
46 stars 33 forks source link

Correct the behavior of Invalid transfer path #96

Closed luisilara closed 5 years ago

luisilara commented 5 years ago

When we use the parameter --files with the transfers.py script os.path.isdir returns a false statement

I repaced it with os.path.exists and will also return True if there's a regular file with that name.

Connected to archivematica/issues#461

ross-spencer commented 5 years ago

Hi @luisilara just a reminder: don't forget to merge!! Nice work on your first AM PR!

:tada: :tada: :tada: