Commit f079811f authored by Лошкарев Сергей Алексеевич's avatar Лошкарев Сергей Алексеевич
Browse files

adapt main to new config.py

1 merge request!2Edit config format
Showing with 4 additions and 4 deletions
+4 -4
from config import read_config
from get_from_tagia import get_users_from_taiga
config = read_config('config.ini')
taiga, wiki = read_config('config.ini')
persons = get_users_from_taiga(
config['taiga']['host'], config['taiga']['username'],
config['taiga']['password'], config['taiga']['project_slug']
taiga['host'], taiga['username'],
taiga['password'], taiga['project_slug']
)
for person in persons[:5]:
for person in persons[:1]:
print(person.__dict__)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment