1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-24 08:42:37 +00:00

FIX:(#169) 500 Error on startup trying to retrieve Weekly Pull-list

This commit is contained in:
evilhero 2013-01-23 02:50:49 -05:00
parent 6ef8ab7b8d
commit f30d507ab9

View file

@ -37,7 +37,7 @@ def pullit():
pull_date = myDB.action("SELECT SHIPDATE from weekly").fetchone()
logger.info(u"Weekly pull list present - checking if it's up-to-date..")
pulldate = pull_date['SHIPDATE']
except sqlite3.OperationalError, msg:
except (sqlite3.OperationalError, TypeError),msg:
conn=sqlite3.connect(mylar.DB_FILE)
c=conn.cursor()
logger.info(u"Error Retrieving weekly pull list - attempting to adjust")