We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
例えばxserverではroot権限がないので/etcが参照できない。
ServerConfigurationクラスにはパス指定できるインタフェースがあるが、外部からこれを指定可能なオプションがない。
ServerConfiguration
class ServerConfiguration(object): _DEFAULTS = { "GENERAL": { "TITLE": "Title", "DOCROOT": "/var/tmp/necco", "SECRET_KEY": "necco_temporary_key", }, "MYSQL": { "DB": "necco", "PORT": "3306", "SERVER": "localhost", "USER": "guest", "PASSWORD": "guest's password", }, } def __init__(self, file_path="/etc/necco/necco.ini"): """ Set configuration based on the specified file. returns: Default configuration data dict. raises: PermissionError: If configuration file cannot be written on the specified path. """
The text was updated successfully, but these errors were encountered:
あれ? /etc/necco/necco.ini だっけか?
Sorry, something went wrong.
Merge branch 'BR_TOPIC_ARGPARSE' for #6
e83e3e7
#10 とかぶる。
dodo5522
No branches or pull requests
例えばxserverではroot権限がないので/etcが参照できない。
ServerConfiguration
クラスにはパス指定できるインタフェースがあるが、外部からこれを指定可能なオプションがない。The text was updated successfully, but these errors were encountered: