beetbox / beetbox/confuse

resourcedir and jsondir errors

Open
#110 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
424
Forks
57
PR merge metrics
No merged PRs in 30d

Description

I had a yaml config like:

```
speed: 1000
max_rows: 500000
reverse: False
search_sort: startEpochMicrosec
jsondir: test1
resourcedir: test2

```
and got an key error due referencing jsondir and resourcedir keys. so I renamed the keys to rd and jd, and it works. Appears to me as though there is an limitation with using dir at the end of the key. Weird.

```
speed = confuse_config['speed'].get()
reverse = confuse_config['reverse'].get()
sortby = confuse_config['search_sort'].get()
jdir = confuse_config['jd'].get()
rdir = confuse_config['rd'].get()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.