Browse Source

Bugfix in refreshdyn.py script that generate dyncode

Adapted to the new LodelContext
Yann Weber 8 years ago
parent
commit
722bee7e21
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      scripts/admin.py

+ 2
- 0
scripts/admin.py View File

4
 import os, os.path
4
 import os, os.path
5
 
5
 
6
 sys.path.append(os.path.dirname(os.getcwd()+'/..'))
6
 sys.path.append(os.path.dirname(os.getcwd()+'/..'))
7
+from lodel.context import LodelContext
8
+LodelContext.init()
7
 from lodel.settings.settings import Settings as settings
9
 from lodel.settings.settings import Settings as settings
8
 settings('globconf.d')
10
 settings('globconf.d')
9
 from lodel.settings import Settings
11
 from lodel.settings import Settings

Loading…
Cancel
Save