bagit-python icon indicating copy to clipboard operation
bagit-python copied to clipboard

self.path shouldn't be None

Open fkloft opened this issue 2 years ago • 0 comments

As mentioned in issue #166, self.path shouldn't be None. This removes the default value of None and removes the check for None. os.path.abspath will remove any trailing slash (except for the directory root /). This should be backwards compatible, since previously os.path.abspath(None) would've raised an exception.

fkloft avatar Apr 17 '23 12:04 fkloft