constants.py 251 B

1234567891011121314
  1. '''
  2. @author: OMASSOT
  3. '''
  4. from path import Path
  5. MAIN = Path(__file__).parent.parent.abspath()
  6. RSCDIR = MAIN / "ui" / "rsc"
  7. LOGDIR = Path("%appdata%").expandvars() / "mncheck"
  8. LOGDIR.mkdir_p()
  9. LOGCONF = MAIN / "core" / "logging.yaml"