1. Chris Mutel
  2. brightway2-data

Commits

Chris Mutel  committed f6009b3

Fix docstring on config.request_dir to correct return values

  • Participants
  • Parent commits 32f49d2
  • Branches default

Comments (0)

Files changed (1)

File bw2data/_config.py

View file
             return os.path.join(user_dir, "brightway2")
 
     def request_dir(self, dirname):
-        """Return ``True`` if directory already exists or can be created."""
+        """Return directory path if writable, or ``False``."""
         path = os.path.join(self.dir, dirname)
         if self.check_dir(path):
             return path