You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
350 B
15 lines
350 B
from ConfigParser import ConfigParser
|
|
import os
|
|
|
|
cp = ConfigParser()
|
|
cp.read(["/etc/brathuhn/config.cfg","brathuhn.cfg",os.path.expanduser('~/.brathuhn.cfg')])
|
|
|
|
NAME = cp.get("Account","NAME")
|
|
SRV = cp.get("Account","SRV")
|
|
PWD = cp.get("Account","PWD")
|
|
|
|
ROOM = cp.get("Conference","ROOM")
|
|
PWD_ROOM = cp.get("Conference","PWD_ROOM")
|
|
|
|
print NAME,SRV
|
|
|
|
|