source: main/waeup.cas/trunk/waeup/cas/db.py @ 10371

Last change on this file since 10371 was 10344, checked in by uli, 11 years ago

Start implementing helpers for db persistence.

File size: 214 bytes
Line 
1# components to store tickets in a database
2# we use sqlite3
3import os
4import sqlite3
5
6
7def create_db(path):
8    if os.path.exists(path):
9        return
10    conn = sqlite3.connect(path)
11    conn.close()
12    return
Note: See TracBrowser for help on using the repository browser.