changed makedb script to make the db read only

This commit is contained in:
Curt Hash 2009-10-14 16:51:56 -06:00
parent e622fd70b7
commit 418f92ae6d
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import os
import sys
import sqlite3
import base64
import stat
# new db
if os.path.exists(',zomg.sqlite3'):
@ -41,3 +42,4 @@ db.commit()
cur.close()
db.close()
os.chmod(',zomg.sqlite3', stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)