mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-11-06 22:47:04 +00:00
Putting all the code from the current master branch of TWBlue
This commit is contained in:
16
src/config.py
Normal file
16
src/config.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# -*- 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
|
||||
Reference in New Issue
Block a user