-
-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
BugThings to squish; generally used for issuesThings to squish; generally used for issues
Milestone
Description
Description
If the value of a FilenameAttribute set in the config file is quoted, it silently creates a mess.
Reproduction steps
- Set
core.logdir = "/path/to/logs" - Run Sopel
- Sopel quietly creates a silly directory tree inside
$HOMEDIR:
$ tree ~/.sopel
/home/dgw/.sopel
├── "
│ └── path
│ └── to
│ └── logs"
│ ├── default.error.log
│ ├── default.exceptions.log
│ ├── default.raw.log
│ └── default.sopel.log
...
Expected behavior
Even though quotes aren't required in Sopel's config file, they should be sensibly handled.
Environment
- Sopel
.version: currentmaster, aca1055 - Sopel installed via:
-e .@ above commit - Python version: 3.8, 3.9
- Operating system: Ubuntu 20.04 (WSL)
Notes
This is a leftover todo from #1959, where I updated the docs but didn't make any code changes related to this.
Metadata
Metadata
Assignees
Labels
BugThings to squish; generally used for issuesThings to squish; generally used for issues