Files: 21f225ecdd016ccd5d3740fb148ec0c485323ae6 / steps / import_contact_info.py
290 bytesRaw
1 | import configparser |
2 | |
3 | config = configparser.ConfigParser() |
4 | |
5 | def main(imported_details): |
6 | config.read("contact-info.ini") |
7 | config.sections() |
8 | for key, value in config.items('Contact Info'): |
9 | imported_details[key] = value |
10 | |
11 | if __name__ == "__main__": |
12 | main(imported_details) |
13 |
Built with git-ssb-web