Moved the database to a separate file, getting ready for mondoDB support. Added a more welcoming flipnote
This commit is contained in:
1 parent
a5d5a82ef3
commit
7d0b413961
14 files changed
+218
-161
No files matched your search
@@ -0,0 +1,11 @@
|
||||
DB_type = "plaintext"#"plaintext" or "mondoDB"
|
||||
|
||||
|
||||
if DB_type == "plaintext":
|
||||
from database import Database
|
||||
elif DB_type == "mondoDB":#not yet implemented
|
||||
from database import Database#hue
|
||||
else:
|
||||
import sys
|
||||
print "Unsupported database type \"%s\"" % DB_type
|
||||
sys.exit()
|
||||
Reference in new issue
Block a user
