JNP3 16/17

Dependencies:   mbed nRF24L01P

Revision:
16:1569130916f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/database_setup.py	Sat Jan 07 02:12:25 2017 +0100
@@ -0,0 +1,12 @@
+from sqlite3 import connect
+
+
+scheme = 'kubus.sql'
+database = 'kubus.db'
+
+conn = connect(database=database)
+fd = open(scheme)
+script = fd.read()
+fd.close()
+conn.executescript(script)
+conn.close()
\ No newline at end of file