updated for py3 port

This commit is contained in:
Rekushi authored and GitHub committed 2026-08-31 20:28:18 +01:00
1 parent bc090ca461
commit 76a9ac99e2
1 file changed
+5 -6
+5 -6
View File
@@ -1,11 +1,10 @@
DB_type = "plaintext"#"plaintext" or "mondoDB"
DB_type = "plaintext" # "plaintext" or future backends
if DB_type == "plaintext":
from database import Database
elif DB_type == "mondoDB":#not yet implemented
from database import Database#hue
elif DB_type == "mondoDB": # legacy placeholder; not implemented
from database import Database
else:
import sys
print "Unsupported database type \"%s\"" % DB_type
sys.exit()
print('Unsupported database type "%s"' % DB_type)
sys.exit(1)