updated for py3 port
This commit is contained in:
1 parent
bc090ca461
commit
76a9ac99e2
1 file changed
+5
-6
@@ -1,11 +1,10 @@
|
|||||||
DB_type = "plaintext"#"plaintext" or "mondoDB"
|
DB_type = "plaintext" # "plaintext" or future backends
|
||||||
|
|
||||||
|
|
||||||
if DB_type == "plaintext":
|
if DB_type == "plaintext":
|
||||||
from database import Database
|
from database import Database
|
||||||
elif DB_type == "mondoDB":#not yet implemented
|
elif DB_type == "mondoDB": # legacy placeholder; not implemented
|
||||||
from database import Database#hue
|
from database import Database
|
||||||
else:
|
else:
|
||||||
import sys
|
import sys
|
||||||
print "Unsupported database type \"%s\"" % DB_type
|
print('Unsupported database type "%s"' % DB_type)
|
||||||
sys.exit()
|
sys.exit(1)
|
||||||
Reference in new issue
Block a user
