librarystandards.py@01941a811b5a
librarystandards.py
Tue, 25 Aug 2020 22:10:04 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Tue, 25 Aug 2020 22:10:04 +0300
- changeset 99
- 01941a811b5a
- parent 96
-
70f8049623ec
- permissions
- -rw-r--r--
move format_report_html to webfront.py
from configparser import ConfigParser
from pathlib import Path
from os.path import dirname
ini_path = Path(dirname(__file__)) / 'library-standards.ini'
library_standards = ConfigParser()
with ini_path.open() as file:
library_standards.read_file(file)