Instead of explicitly checking for database file existence, simply try to open it...
tree0924a5aa49ca2274208046adb2baa442326c8e4b
-rw-r--r-- 2078 database.py
-rw-r--r-- 2326 parser.py
-rw-r--r-- 1118 resource.py
-rwxr-xr-x 3141 vzubcmon