bagit-python
bagit-python copied to clipboard
self.path shouldn't be None
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.