Skip to content

Commit a8c439b

Browse files
Fixing README.md
1 parent 62252ca commit a8c439b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ core:
4949

5050
The instance of Config Class:
5151
```
52-
from jsonconfigparser import Config, ConfigException
52+
from pyconfigparser import Config, ConfigException
5353
import logging
5454
5555
try:
56-
config = Config(SCHEMA_CONFIG) # <- Here I'm using that SCHEMA_CONFIG we had declared, and the dir file default value is being used
56+
config = Config.get_config(SCHEMA_CONFIG) # <- Here I'm using that SCHEMA_CONFIG we had declared, and the dir file default value is being used
5757
except ConfigException as e:
5858
print(e)
5959
exit()
@@ -84,13 +84,13 @@ Instanced the first obj, you can instance Config in other files of your project
8484
just calling the Config without args like that:
8585

8686
```
87-
from jsonconfigparser import Config, ConfigException
87+
from pyconfigparser import Config, ConfigException
8888
89-
config = Config() #At this point you already have the configuration properties in your config object
89+
config = Config.get_config() #At this point you already have the configuration properties in your config object
9090
```
9191

9292

9393
CONTRIBUTE
9494
----------
9595

96-
Fork https://github.com/BrunoSilvaAndrade/python-json-config-parser/ , create commit and pull request to ``develop``.
96+
Fork https://github.com/BrunoSilvaAndrade/python-config-parser/ , create commit and pull request to ``develop``.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name='python-config-parser',
8-
version='2.0.0',
8+
version='2.0.1',
99
author='Bruno Silva de Andrade',
1010
author_email='brunojf.andrade@gmail.com',
1111
description='Project created to given the possibility of create dynamics config files',

0 commit comments

Comments
 (0)