Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tomquirk#128 adds the ability to customize cookie dir. But it also allows passing `None` as an argument for `cookies_dir`, which raises `TypeError` while calling `os.path.exists(self.cookie_dir)`. Setting `cookies_dir`'s default value to `None` and handling `None` while setting it to the `self` fixes this unexpected behavior.
- Loading branch information