mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-02-22 08:31:20 -06:00
16 lines
342 B
Python
16 lines
342 B
Python
|
# -*- coding: cp1252 -*-
|
||
|
from config_utils import Configuration, ConfigurationResetException
|
||
|
import paths
|
||
|
|
||
|
MAINFILE = "session.conf"
|
||
|
MAINSPEC = "Conf.defaults"
|
||
|
|
||
|
main = None
|
||
|
|
||
|
def setup ():
|
||
|
global main
|
||
|
try:
|
||
|
main = Configuration(paths.config_path(MAINFILE), paths.app_path(MAINSPEC))
|
||
|
except ConfigurationResetException:
|
||
|
pass
|
||
|
# return main
|