forked from ScoDoc/DocScoDoc
replaced attrdict.AttrDict by local class
This commit is contained in:
parent
a3ede77f2c
commit
a565fffe2f
@ -6,9 +6,15 @@
|
||||
mais éditer /opt/scodoc/var/scodoc/config/scodoc_local.py
|
||||
"""
|
||||
|
||||
from attrdict import AttrDict
|
||||
from app.scodoc import bonus_sport
|
||||
|
||||
|
||||
class AttrDict(dict):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(AttrDict, self).__init__(*args, **kwargs)
|
||||
self.__dict__ = self
|
||||
|
||||
|
||||
CONFIG = AttrDict()
|
||||
|
||||
# set to 1 if you want to require INE:
|
||||
|
Loading…
Reference in New Issue
Block a user