source:
main/waeup.cas/trunk/waeup/cas/db.py
@
10371
Last change on this file since 10371 was 10344, checked in by , 11 years ago | |
---|---|
File size: 214 bytes |
Line | |
---|---|
1 | # components to store tickets in a database |
2 | # we use sqlite3 |
3 | import os |
4 | import sqlite3 |
5 | |
6 | |
7 | def 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.