Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several identical tags in the configuration file. #64

Open
falshunov opened this issue Mar 12, 2018 · 2 comments
Open

Several identical tags in the configuration file. #64

falshunov opened this issue Mar 12, 2018 · 2 comments
Labels

Comments

@falshunov
Copy link

falshunov commented Mar 12, 2018

Hi, I'm making a configuration file with lots of parts in it. I will use this for telnet.
The file looks like this (for example):

[filters]
#part1
bold: Index
#part2
bold: down

With this arrangement, only the last filter tag is triggered.
How can I use multiple identical tags in the same configuration file?

P.S. Sorry for my english, this is Google translator.

@falshunov falshunov changed the title Several identical variables in the configuration file. Several identical tags in the configuration file. Mar 12, 2018
@nicoulaj
Copy link
Owner

You can do like this as a workaround:

[filters]
bold: Index|down

See builtin configs for examples.

Related: #2

@falshunov
Copy link
Author

falshunov commented Mar 12, 2018

It is not comfortable. The parts look better.
I understand this is due to the peculiarity of the configparser. Maybe you can fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants