Commit efb9d3b
committed
bot: use
This makes the existence check case insensitive, which matches the
parsing behavior of `RawConfigParser`.
The `ip` plugin has a `GeoIP_db_path` setting that will erroneously warn
users who set it using `sopel-plugins configure`, because the parser
writes out its normalized names (in this case, `geoip_db_path`) and then
the previous check using `hasattr()` wouldn't find the normalized name.optionxform()-ed setting names for existence check1 parent 83974bd commit efb9d3b
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
392 | 398 | | |
393 | | - | |
| 399 | + | |
394 | 400 | | |
395 | 401 | | |
396 | 402 | | |
| |||
0 commit comments