1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 19:40:21 +01:00

Legacy, working version. Several patches included to conform new format of the DB

This commit is contained in:
2012-02-18 18:49:45 +01:00
parent c2926c96d6
commit 1424ce9c86
6 changed files with 156 additions and 61 deletions

View File

@@ -64,13 +64,17 @@ def check_requirements():
pass
try:
from pysqlite2 import dbapi2 as sqlite
import sqlite3 as sqlite
except ImportError:
print "pyGTKtalog uses SQLite DB.\nYou'll need to get it and the",
print "python bindings as well.",
print "http://www.sqlite.org"
print "http://initd.org/tracker/pysqlite"
sys.exit(1)
try:
from pysqlite2 import dbapi2 as sqlite
except ImportError:
print "pyGTKtalog uses SQLite DB.\nYou'll need to get it and the",
print "python bindings as well.",
print "http://www.sqlite.org"
print "http://initd.org/tracker/pysqlite"
print "Alternatively install python 2.5 or higher"
sys.exit(1)
if conf.confd['exportxls']:
try: