mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Renamed databases to database_modules.
This commit is contained in:
parent
80d2a379fe
commit
082cf04f5d
@ -278,8 +278,10 @@ SConscript("web/SCsub")
|
||||
SConscript("platform/SCsub")
|
||||
|
||||
if env_base["databases"]:
|
||||
#add db folder
|
||||
|
||||
for d in database_list:
|
||||
tmppath = "./database/" + d
|
||||
tmppath = "./database_modules/" + d
|
||||
sys.path.insert(0, tmppath)
|
||||
|
||||
import detect
|
||||
@ -295,11 +297,13 @@ if env_base["databases"]:
|
||||
|
||||
Export("env_db")
|
||||
|
||||
SConscript("database/" + d + "/SCsub")
|
||||
SConscript("database_modules/" + d + "/SCsub")
|
||||
|
||||
sys.path.remove(tmppath)
|
||||
sys.modules.pop("detect")
|
||||
|
||||
# Todo actually generate db_init
|
||||
|
||||
for m in module_list:
|
||||
tmppath = m[1]
|
||||
sys.path.insert(0, tmppath)
|
||||
|
Loading…
Reference in New Issue
Block a user