See previous commit...
This commit is contained in:
parent
17a49169eb
commit
704e7209a6
3 changed files with 116 additions and 76 deletions
11
lib/config.py
Normal file
11
lib/config.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import ConfigParser
|
||||
|
||||
def init():
|
||||
global config
|
||||
config = read_config_file()
|
||||
|
||||
|
||||
def read_config_file():
|
||||
ret = ConfigParser.ConfigParser()
|
||||
ret.read('pygo.cfg')
|
||||
return ret
|
Loading…
Add table
Add a link
Reference in a new issue